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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  671   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)"));
  677   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  678   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)"));
  684   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  685   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x, y)"));
  686   Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  687   EXPECT_FALSE(isMutated(Results, AST.get()));
  693   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  694   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(y, x)"));
  695   Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  696   EXPECT_FALSE(isMutated(Results, AST.get()));
  700   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  701   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x"));
  706   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  707   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x"));
  712   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  713   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x"));
  722   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  723   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)"));