Searched refs:makeRule (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang/unittests/Tooling/ |
D | TransformerTest.cpp | 29 using ::clang::transformer::makeRule; 171 auto R = makeRule( in ruleStrlenSize() 196 RewriteRule Rule = makeRule( in TEST_F() 219 makeRule(callExpr(callee(functionDecl(hasName("f")))), in TEST_F() 236 RewriteRule Rule = makeRule( in TEST_F() 255 RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))), in TEST_F() 273 RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))), in TEST_F() 292 RewriteRule Rule = makeRule(functionDecl(hasName("bad")).bind(Fun), in TEST_F() 324 testRule(makeRule(declRefExpr(to(functionDecl(hasName("bad")))).bind(Ref), in TEST_F() 342 Transformer T(makeRule(declRefExpr(to(functionDecl())).bind(Ref), in TEST_F() [all …]
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | TransformerClangTidyCheckTest.cpp | 26 using transformer::makeRule; 35 makeRule(ifStmt(hasCondition(expr().bind(C)), hasThen(stmt().bind(T)), in invertIf() 75 makeRule(integerLiteral(), change(cat("LIT")), cat("no message")), in IntLitCheck() 98 makeRule( in BinOpCheck() 125 return makeRule(clang::ast_matchers::functionDecl(), in needsObjC() 150 return makeRule(clang::ast_matchers::functionDecl(), in noSkip() 177 RewriteRule Rule = makeRule(callExpr(callee(functionDecl(hasName("f")))), in replaceCall() 226 RewriteRule Rule = transformer::makeRule(integerLiteral(), change(cat("5")), in rule()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | StringFindStrContainsCheck.cpp | 30 using ::clang::transformer::makeRule; 78 {makeRule(binaryOperator(hasOperatorName("=="), in MakeRule() 84 makeRule(binaryOperator(hasOperatorName("!="), in MakeRule()
|
/external/llvm-project/clang/include/clang/Tooling/Transformer/ |
D | RewriteRule.h | 290 RewriteRule makeRule(ast_matchers::internal::DynTypedMatcher M, 294 inline RewriteRule makeRule(ast_matchers::internal::DynTypedMatcher M, 297 return makeRule(std::move(M), editList(std::move(Edits)), 302 inline RewriteRule makeRule(ast_matchers::internal::DynTypedMatcher M, 305 return makeRule(std::move(M), edit(std::move(Edit)), std::move(Explanation));
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | RewriteRule.cpp | 164 RewriteRule transformer::makeRule(DynTypedMatcher M, EditGenerator Edits, in makeRule() function in transformer
|