reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
231 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 232 EXPECT_FALSE(isMutated(Results, AST.get())); 234 AST = buildASTFromCode("void g(int* const); void f() { int* x; g(x); }"); 235 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 236 EXPECT_FALSE(isMutated(Results, AST.get())); 238 AST = buildASTFromCode("typedef int* const CIntPtr;" 240 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 241 EXPECT_FALSE(isMutated(Results, AST.get())); 243 AST = buildASTFromCode( 245 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 246 EXPECT_FALSE(isMutated(Results, AST.get())); 248 AST = buildASTFromCode( 250 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 251 EXPECT_FALSE(isMutated(Results, AST.get())); 253 AST = buildASTFromCode("template <int> struct A { A(); A(const A&);" 256 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 257 EXPECT_FALSE(isMutated(Results, AST.get()));