|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 134 REGISTER_MATCHER(asString);
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp 134 hasReceiverType(asString("NSRunLoop")),
tools/clang/tools/extra/clang-tidy/android/CloexecFopenCheck.cpp 24 functionDecl(isExternC(), returns(asString("FILE *")),
tools/clang/tools/extra/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp 27 varDecl(hasLocalStorage(), hasType(asString("dispatch_once_t")))
35 objcIvarDecl(hasType(asString("dispatch_once_t"))).bind("ivar"), this);
tools/clang/tools/extra/clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp 29 hasReceiverType(asString("NSException")))
tools/clang/tools/extra/clang-tidy/objc/AvoidNSErrorInitCheck.cpp 25 hasReceiverType(asString("NSError *")))
tools/clang/unittests/AST/ASTImporterTest.cpp 468 stringLiteral(hasType(asString("const char [4]"))))));
473 stringLiteral(hasType(asString("const wchar_t [4]"))))));
478 stringLiteral(hasType(asString("const char [7]"))))));
515 floatLiteral(equals(1.0), hasType(asString("double"))))));
520 floatLiteral(equals(1.0e-5f), hasType(asString("float"))))));
540 hasType(asString("struct s")),
542 hasType(asString("struct s")),
544 equals(42), hasType(asString("int")))),
546 equals(0), hasType(asString("long")))),
548 equals(1), hasType(asString("unsigned int"))))))))));
561 asString("class declToImport *")))))));
573 hasType(asString("int *"))))),
574 has(integerLiteral(equals(1), hasType(asString("int"))))))));
629 hasType(asString("int")),
635 hasType(asString("int")),
710 asString("const char [13]")),
712 asString("const char [13]"))))))));
730 hasType(asString("struct point")),
733 hasType(asString("double")))))),
736 hasType(asString("struct point")),
909 functionDecl(hasDescendant(typeTraitExpr(hasType(asString("int"))))));
1307 hasParameter(1, hasType(asString("X<int> &"))));
3453 cxxConstructorDecl(hasParameter(0, varDecl(hasType(asString("int")))),
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp 743 cxxMemberCallExpr(on(hasType(asString("class Y *"))))));
746 cxxMethodDecl(hasParameter(0, hasType(asString("int"))))));
748 fieldDecl(hasType(asString("ns::A")))));
750 fieldDecl(hasType(asString("struct (anonymous namespace)::A")))));
852 hasArgumentOfType(asString("int")))));
854 hasArgumentOfType(asString("float")))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 157 valueDecl(hasType(asString("enum EnumType")))));
159 valueDecl(hasType(asString("void (void)")))));
164 friendDecl(hasType(asString("class X")))));
783 hasType(asString("struct point")),
786 hasType(asString("double")))))),
789 hasType(asString("struct point")),
838 hasType(asString("const char [4]")),
1080 initListExpr(hasType(asString("int [2]")))));
1524 nestedNameSpecifier(hasPrefix(specifiesType(asString("struct A"))))));
1528 specifiesTypeLoc(loc(qualType(asString("struct A"))))))));
1532 specifiesTypeLoc(loc(qualType(asString("struct N::A"))))))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 97 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))),
341 EXPECT_TRUE(matches("typedef int X;", typedefDecl(hasType(asString("int")))));
343 typedefDecl(hasType(asString("const int")))));
345 typedefDecl(hasType(asString("int")))));
347 typedefDecl(hasType(asString("foo")), hasName("bar"))));
351 EXPECT_TRUE(matches("using X = int;", typedefNameDecl(hasType(asString("int")))));
353 typedefNameDecl(hasType(asString("const int")))));
355 typedefNameDecl(hasType(asString("int")))));
357 typedefNameDecl(hasType(asString("foo")), hasName("bar"))));
362 varDecl(hasName("x"), hasTypeLoc(loc(asString("int"))))));
366 declaratorDecl(hasTypeLoc(loc(asString("int"))))));
776 functionDecl(returns(asString("int")))));
778 functionDecl(returns(asString("float")))));
808 asString("int"))))));
853 1, refersToType(asString("int"))))));
858 1, refersToType(asString("int"))))));
864 1, refersToType(asString("int"))))));
869 1, refersToType(asString("int"))))));
874 functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))));
877 functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))));
981 asString("int"))))));
984 refersToIntegralType(asString("int"))))));
2004 hasAnyTemplateArgument(refersToType(asString("int")))),
2165 0, varDecl(hasType(asString("int"))))).bind("f"))).bind("v"),
2173 fieldDecl(hasType(asString("int")),
2364 nestedNameSpecifier(specifiesType(asString("struct ns::E"))).bind("nns"),
2382 nestedNameSpecifier(specifiesType(asString("struct a::A::B")),
2387 nestedNameSpecifier(specifiesType(asString("struct a::A::B")),
2392 nestedNameSpecifier(specifiesType(asString("struct a::A")),
2400 nestedNameSpecifier(specifiesType(asString("struct a::A::B")),
2412 asString("struct a::A")))))));
2427 nestedNameSpecifierLoc(loc(specifiesType(asString("struct a::A::B"))),
2432 nestedNameSpecifierLoc(loc(specifiesType(asString("struct a::A::B"))),
2437 nestedNameSpecifierLoc(loc(specifiesType(asString("struct a::A"))),
2443 nestedNameSpecifierLoc(loc(specifiesType(asString("struct a::A::B"))),
2455 asString("struct a::A"))))))));
2629 qualType(asString("int"))))));
2631 qualType(asString("double"))))));