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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
 1135       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1136   EXPECT_FALSE(isMutated(Results, AST.get()));
 1138   AST = buildASTFromCode("void f() { int x, y; __typeof(x = 10) z = y; }");
 1139   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1140   EXPECT_FALSE(isMutated(Results, AST.get()));
 1142   AST = buildASTFromCode("void f() { int x, y; __typeof__(x = 10) z = y; }");
 1143   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1144   EXPECT_FALSE(isMutated(Results, AST.get()));
 1146   AST = buildASTFromCode("void f() { int x; sizeof(x = 10); }");
 1147   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1148   EXPECT_FALSE(isMutated(Results, AST.get()));
 1150   AST = buildASTFromCode("void f() { int x; alignof(x = 10); }");
 1151   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1152   EXPECT_FALSE(isMutated(Results, AST.get()));
 1154   AST = buildASTFromCode("void f() { int x; noexcept(x = 10); }");
 1155   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1156   EXPECT_FALSE(isMutated(Results, AST.get()));
 1158   AST = buildASTFromCodeWithArgs("namespace std { class type_info; }"
 1161   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1162   EXPECT_FALSE(isMutated(Results, AST.get()));
 1164   AST = buildASTFromCode(
 1166   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1167   EXPECT_FALSE(isMutated(Results, AST.get()));