• Home
  • Raw
  • Download

Lines Matching refs:RewriteRule

35 using ::clang::transformer::RewriteRule;
168 static RewriteRule ruleStrlenSize() { in ruleStrlenSize()
196 RewriteRule Rule = makeRule( in TEST_F()
218 RewriteRule Rule = 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()
351 RewriteRule Rule = in TEST_F()
887 RewriteRule FlagRule = makeRule( in TEST_F()
924 RewriteRule ReplaceF1 = in TEST_F()
927 RewriteRule ReplaceF1OrF2 = in TEST_F()
949 RewriteRule ReplaceF1 = in TEST_F()
952 RewriteRule ReplaceF1OrF2 = in TEST_F()
977 RewriteRule ReplaceF1 = in TEST_F()
980 RewriteRule ReplaceF1OrF2 = in TEST_F()
983 RewriteRule DeclRule = makeRule(functionDecl(hasName("f2")).bind("fun"), in TEST_F()
986 RewriteRule Rule = applyFirst({ReplaceF1, DeclRule, ReplaceF1OrF2}); in TEST_F()
1007 RewriteRule ReplaceF1 = in TEST_F()
1010 RewriteRule ReplaceF2 = in TEST_F()
1121 auto RewriteRule = in TEST_F() local
1125 RewriteRule), in TEST_F()
1128 testRule(makeRule(traverse(TK_AsIs, MatchedRecord), RewriteRule), in TEST_F()
1175 auto RewriteRule = in TEST_F() local
1179 RewriteRule), in TEST_F()
1182 testRule(makeRule(traverse(TK_AsIs, MatchedRecord), RewriteRule), in TEST_F()
1246 auto RewriteRule = in TEST_F() local
1252 RewriteRule), in TEST_F()
1255 testRuleFailure(makeRule(traverse(TK_AsIs, MatchedLoop), RewriteRule), in TEST_F()
1319 auto RewriteRule = in TEST_F() local
1325 RewriteRule), in TEST_F()
1328 testRuleFailure(makeRule(traverse(TK_AsIs, MatchedLoop), RewriteRule), in TEST_F()
1410 RewriteRule R = makeRule(integerLiteral(equals(0)).bind(zero), in TEST_F()
1540 RewriteRule R = makeRule(integerLiteral(equals(0)).bind(zero), in TEST_F()
1563 RewriteRule QualTypeRule = makeRule(qualType(), changeTo(cat("Q"))); in TEST()
1567 RewriteRule TypeRule = makeRule(arrayType(), changeTo(cat("T"))); in TEST()