reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
486 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 487 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); 489 AST = 492 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 493 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(x)")); 495 AST = buildASTFromCodeWithArgs( 498 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 499 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("g(t, x)")); 501 AST = buildASTFromCodeWithArgs( 504 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 505 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("t.mf(x)")); 507 AST = buildASTFromCodeWithArgs( 511 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 512 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("s.mf(x)")); 514 AST = buildASTFromCodeWithArgs( 518 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 519 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("s.mf<T>(x)")); 521 AST = buildASTFromCodeWithArgs("template <class F>" 524 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 525 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("f(x)")); 527 AST = buildASTFromCodeWithArgs( 530 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 531 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("T(x)"));