mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 01:29:52 +00:00
[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:
parent
640230cc97
commit
0cd4ab91ab
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user