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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  537       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  538   EXPECT_FALSE(isMutated(Results, AST.get()));
  540   AST = buildASTFromCode("int* f() { int* x; return x; }");
  541   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  542   EXPECT_FALSE(isMutated(Results, AST.get()));
  544   AST = buildASTFromCode("typedef int* IntPtr;"
  546   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  547   EXPECT_FALSE(isMutated(Results, AST.get()));