reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
 1201   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("* x = 10"));
 1204   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1205   EXPECT_FALSE(isMutated(Results, AST.get()));
 1209   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1210   EXPECT_FALSE(isMutated(Results, AST.get()));
 1214   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1215   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x"));
 1220   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1221   EXPECT_FALSE(isMutated(Results, AST.get()));
 1226   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1227   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x"));
 1232   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1233   EXPECT_FALSE(isMutated(Results, AST.get()));
 1238   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1239   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x->mf()"));