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

References

tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  408   EXPECT_FALSE(isMutated(Results, AST.get()));
  412   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  413   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("std::move(x) = y"));
  417   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  418   EXPECT_FALSE(isMutated(Results, AST.get()));
  424   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  425   EXPECT_FALSE(isMutated(Results, AST.get()));
  430   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  431   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)"));
  437   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  438   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)"));
  444   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  445   EXPECT_FALSE(isMutated(Results, AST.get()));
  450   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  451   EXPECT_FALSE(isMutated(Results, AST.get()));
  455   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  456   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)"));
  461   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  462   EXPECT_FALSE(isMutated(Results, AST.get()));