reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
537 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 538 EXPECT_FALSE(isMutated(Results, AST.get())); 540 AST = buildASTFromCode("int* f() { int* x; return x; }"); 541 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 542 EXPECT_FALSE(isMutated(Results, AST.get())); 544 AST = buildASTFromCode("typedef int* IntPtr;" 546 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 547 EXPECT_FALSE(isMutated(Results, AST.get()));