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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  730       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  731   EXPECT_FALSE(isMutated(Results, AST.get()));
  733   AST = buildASTFromCode("template <class T> void g(T&& t) { t; }"
  735   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  736   EXPECT_FALSE(isMutated(Results, AST.get()));
  738   AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}"
  740   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  741   EXPECT_FALSE(isMutated(Results, AST.get()));
  743   AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}"
  745   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  746   EXPECT_FALSE(isMutated(Results, AST.get()));
  748   AST = buildASTFromCode(
  752   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  753   EXPECT_FALSE(isMutated(Results, AST.get()));
  755   AST = buildASTFromCode("struct S { template <class T> S(T&& t) { t; } };"
  757   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  758   EXPECT_FALSE(isMutated(Results, AST.get()));
  760   AST = buildASTFromCode(
  763   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  764   EXPECT_FALSE(isMutated(Results, AST.get()));
  766   AST = buildASTFromCode("template <class U> struct S {"
  769   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  770   EXPECT_FALSE(isMutated(Results, AST.get()));
  772   AST = buildASTFromCode(StdRemoveReference + StdForward +
  779   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  780   EXPECT_FALSE(isMutated(Results, AST.get()));