reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
635 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 636 EXPECT_FALSE(isMutated(Results, AST.get())); 638 AST = buildASTFromCode("void f() { int x; int& r0 = x; const int& r1 = r0;}"); 639 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 640 EXPECT_FALSE(isMutated(Results, AST.get())); 642 AST = buildASTFromCode("typedef const int& CIntRefX;" 646 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 647 EXPECT_FALSE(isMutated(Results, AST.get()));