[clang-tidy][NFC] Qualify makeRule call in test, for consistency with other calls.

One call `makeRule` is unqualified (and unintentionally relying on ADL to
resolve correctly). This revision qualifies that call for consistency and to
drop use of ADL.

llvm-svn: 369915
This commit is contained in:
Yitzhak Mandelbaum 2019-08-26 15:27:05 +00:00
parent 640230cc97
commit 0cd4ab91ab

View File

@ -174,8 +174,9 @@ TEST(TransformerClangTidyCheckTest, DisableByConfig) {
RewriteRule replaceCall(IncludeFormat Format) {
using namespace ::clang::ast_matchers;
RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))),
change(text("other()")), text("no message"));
RewriteRule Rule =
tooling::makeRule(callExpr(callee(functionDecl(hasName("f")))),
change(text("other()")), text("no message"));
addInclude(Rule, "clang/OtherLib.h", Format);
return Rule;
}