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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  195       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  196   EXPECT_FALSE(isMutated(Results, AST.get()));
  198   AST = buildASTFromCode("void g(int*); void f() { int* x; g(x); }");
  199   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  200   EXPECT_FALSE(isMutated(Results, AST.get()));
  202   AST = buildASTFromCode("typedef int* IntPtr;"
  204   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  205   EXPECT_FALSE(isMutated(Results, AST.get()));
  207   AST = buildASTFromCode(
  209   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  210   EXPECT_FALSE(isMutated(Results, AST.get()));
  212   AST = buildASTFromCode("void f() { struct A { A(int); }; int x; A y(x); }");
  213   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  214   EXPECT_FALSE(isMutated(Results, AST.get()));
  216   AST = buildASTFromCode("struct A { A(); A& operator=(A); };"
  218   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  219   EXPECT_FALSE(isMutated(Results, AST.get()));
  221   AST = buildASTFromCode(
  224   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  225   EXPECT_FALSE(isMutated(Results, AST.get()));