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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  152       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  153   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf<T>()"));
  155   AST = buildASTFromCodeWithArgs("template <class T> void f() { T x; x.mf(); }",
  157   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  158   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf()"));
  160   AST = buildASTFromCodeWithArgs(
  164   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  165   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.mf()"));