reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1049 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 1050 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("e", "e = 10")); 1052 AST = buildASTFromCode("typedef int& IntRef;" 1054 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 1055 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("e", "e = 10"));