Lines Matching full:results
53 bool isMutated(const SmallVectorImpl<BoundNodes> &Results, ASTUnit *AST) { in isMutated() argument
54 const auto *const S = selectFirst<Stmt>("stmt", Results); in isMutated()
55 const auto *const E = selectFirst<Expr>("expr", Results); in isMutated()
61 mutatedBy(const SmallVectorImpl<BoundNodes> &Results, ASTUnit *AST) { in mutatedBy() argument
62 const auto *const S = selectFirst<Stmt>("stmt", Results); in mutatedBy()
66 for (const auto *E = selectFirst<Expr>("expr", Results); E != nullptr;) { in mutatedBy()
110 const auto Results = in TEST() local
112 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
127 const auto Results = in TEST_P() local
129 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
136 const auto Results = in TEST_P() local
138 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
146 const auto Results = in TEST_P() local
148 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
157 const auto Results = in TEST_P() local
159 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST_P()
167 const auto Results = in TEST_P() local
169 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
179 const auto Results = in TEST_P() local
181 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
190 const auto Results = in TEST_P() local
192 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
200 const auto Results = in TEST_P() local
202 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
218 const auto Results = in TEST() local
220 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("b", "b.nonconst()")); in TEST()
228 const auto Results = in TEST_P() local
230 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre(ModExpr)); in TEST_P()
242 const auto Results = in TEST() local
244 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf()")); in TEST()
252 auto Results = in TEST() local
254 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf<T>()")); in TEST()
258 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
259 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf()")); in TEST()
265 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
266 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf()")); in TEST()
272 const auto Results = in TEST() local
274 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
282 const auto Results = in TEST() local
284 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.push_back(T())")); in TEST()
292 const auto Results = in TEST() local
294 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x = 10")); in TEST()
300 const auto Results = in TEST() local
302 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
311 const auto Results = in TEST() local
313 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
320 auto Results = in TEST() local
322 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
325 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
326 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
330 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
331 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
335 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
336 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
339 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
340 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
344 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
345 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
350 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
351 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
356 auto Results = in TEST() local
358 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
361 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
362 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
366 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
367 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
371 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
372 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
376 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
377 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
382 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
383 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
388 auto Results = in TEST() local
390 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
394 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
395 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
399 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
400 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
406 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
407 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g<int>(x)")); in TEST()
411 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
412 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
416 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
417 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
421 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
422 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x + 1")); in TEST()
425 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
426 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
429 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
430 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
435 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
436 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("A<0>::mf(x)")); in TEST()
450 auto Results = in TEST() local
452 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("parser(x)")); in TEST()
457 auto Results = in TEST() local
459 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
463 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
464 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
468 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
469 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
476 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
477 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
481 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
482 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
486 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
487 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
491 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
492 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
498 auto Results = in TEST() local
500 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
505 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
506 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
511 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
512 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
517 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
518 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
525 auto Results = in TEST() local
527 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
532 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
533 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
538 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
539 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
544 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
545 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
554 auto Results = in TEST() local
556 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
560 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
561 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("std::move(x) = y")); in TEST()
565 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
566 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
572 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
573 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
578 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
579 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); in TEST()
585 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
586 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); in TEST()
592 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
593 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
598 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
599 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
603 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
604 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); in TEST()
609 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
610 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
617 auto Results = in TEST() local
619 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
624 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
625 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
636 auto Results = in TEST() local
638 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
643 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
644 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
649 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
650 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(t, x)")); in TEST()
655 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
656 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("t.mf(x)")); in TEST()
662 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
663 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("s.mf(x)")); in TEST()
669 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
670 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("s.mf<T>(x)")); in TEST()
675 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
676 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("f(x)")); in TEST()
681 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
682 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("T(x)")); in TEST()
689 auto Results = in TEST() local
691 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
694 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
695 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
699 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
700 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
705 const auto Results = in TEST() local
707 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("return x;")); in TEST()
712 const auto Results = in TEST() local
714 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
720 const auto Results = in TEST() local
722 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
729 const auto Results = in TEST() local
731 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
739 const auto Results = in TEST() local
741 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("&x")); in TEST()
747 const auto Results = in TEST() local
749 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
775 auto Results = in TEST() local
777 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
784 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
785 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
793 auto Results = in TEST() local
795 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
798 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
799 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
805 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
806 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
812 const auto Results = in TEST() local
814 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("r", "r = 10")); in TEST()
820 const auto Results = in TEST() local
822 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
828 auto Results = in TEST() local
830 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
836 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
837 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
843 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
844 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x, y)")); in TEST()
845 Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext()); in TEST()
846 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
852 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
853 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(y, x)")); in TEST()
854 Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext()); in TEST()
855 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
859 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
860 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
865 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
866 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
871 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
872 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
881 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
882 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); in TEST()
888 auto Results = in TEST() local
890 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
894 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
895 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
899 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
900 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
904 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
905 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
911 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
912 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
916 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
917 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
922 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
923 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
928 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
929 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
938 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
939 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
946 const auto Results = in TEST() local
948 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x[0] = 10")); in TEST()
953 const auto Results = in TEST() local
955 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
964 auto Results = in TEST() local
966 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.vb.va.vi = 10")); in TEST()
971 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
972 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.y.z = 10")); in TEST()
978 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
979 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.y.z = 10")); in TEST()
986 auto Results = in TEST() local
988 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
992 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
993 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
999 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1000 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1008 const auto Results = in TEST() local
1010 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1016 auto Results = in TEST() local
1018 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1023 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1024 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1031 const auto Results = in TEST() local
1033 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1040 auto Results = in TEST() local
1042 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1046 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1047 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1055 const auto Results = in TEST() local
1057 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1063 const auto Results = in TEST() local
1065 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1073 const auto Results = in TEST() local
1075 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1083 const auto Results = in TEST() local
1085 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1093 const auto Results = in TEST() local
1095 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1103 auto Results = in TEST() local
1105 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1110 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1111 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1120 const auto Results = in TEST() local
1122 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1130 const auto Results = in TEST() local
1132 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1138 auto Results = in TEST() local
1140 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1146 const auto Results = in TEST() local
1148 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1156 const auto Results = in TEST() local
1158 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1173 const auto Results = in TEST() local
1175 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1182 const auto Results = in TEST() local
1184 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1192 const auto Results = in TEST() local
1194 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1199 const auto Results = in TEST() local
1201 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1206 const auto Results = in TEST() local
1208 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1214 const auto Results = in TEST() local
1216 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1225 auto Results = in TEST() local
1227 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1232 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1233 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1240 const auto Results = in TEST() local
1242 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1247 auto Results = in TEST() local
1249 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1253 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1254 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1259 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1260 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1266 auto Results = in TEST() local
1268 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1272 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1273 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1280 const auto Results = in TEST() local
1282 EXPECT_THAT(mutatedBy(Results, AST.get()), in TEST()
1289 const auto Results = in TEST() local
1291 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1298 const auto Results = in TEST() local
1300 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1307 const auto Results = in TEST() local
1309 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1316 auto Results = in TEST() local
1318 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1321 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1322 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1325 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1326 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1329 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1330 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1333 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1334 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1337 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1338 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1343 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1344 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1348 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1349 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1354 auto Results = in TEST() local
1356 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x++")); in TEST()
1363 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1364 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.f()")); in TEST()
1383 auto Results = in TEST() local
1385 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("* x = 10")); in TEST()
1388 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1389 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1393 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1394 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1398 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1399 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
1404 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1405 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1410 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1411 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x")); in TEST()
1416 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1417 EXPECT_FALSE(isMutated(Results, AST.get())); in TEST()
1422 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); in TEST()
1423 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x->mf()")); in TEST()
1438 auto Results = in TEST() local
1440 EXPECT_TRUE(isMutated(Results, AST.get())); in TEST()
1441 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("(x)")); in TEST()