reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2422 extern const internal::VariadicAllOfMatcher<TypeLoc> typeLoc;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  504   REGISTER_MATCHER(typeLoc);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  162                               hasAncestor(typeLoc(unless(
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  449       typeLoc(IsInMovedNs,
  451               unless(anyOf(hasParent(typeLoc(loc(qualType(
  482                        hasAncestor(typeLoc(loc(qualType(hasDeclaration(
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  217       typeLoc(isExpansionInMainFile(),
  223       typeLoc(isExpansionInMainFile(),
  230       typeLoc(isExpansionInMainFile(),
tools/clang/tools/extra/clang-move/Move.cpp
  605       typeLoc(loc(recordType(hasDeclaration(HelperClasses.bind("used_class")))),
tools/clang/tools/extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp
   83       match(expr(hasDescendant(typeLoc().bind("t"))), *E, *Result.Context);
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
   78   return anyOf(hasAncestor(typeLoc()),
tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp
   66   Finder->addMatcher(typeLoc(loc(isInteger()),
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  195       typeLoc(loc(qualType(typedefType(hasDeclaration(TestCaseTypeAlias)))),
tools/clang/tools/extra/clang-tidy/modernize/AvoidCArraysCheck.cpp
   51       typeLoc(hasValidBeginLoc(), hasType(arrayType()),
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp
   41   Finder->addMatcher(typeLoc(loc(IoStateType)).bind("TypeLoc"), this);
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
  102   Finder->addMatcher(typeLoc(loc(qualType(AutoPtrType,
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   90                    has(typeLoc(forEach(ExpensiveValueParamDecl))),
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp
   44                    has(typeLoc(forEach(ConstParamDecl))))
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  242   Finder->addMatcher(typeLoc().bind("typeLoc"), this);
tools/clang/unittests/AST/ASTContextParentMapTest.cpp
   43                      typeLoc(hasParent(typeLoc(hasParent(functionDecl()))))));
   43                      typeLoc(hasParent(typeLoc(hasParent(functionDecl()))))));
   49                              nestedNameSpecifierLoc(hasParent(typeLoc()))));
tools/clang/unittests/AST/ASTTypeTraitsTest.cpp
  141   EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType()))));
tools/clang/unittests/AST/SourceLocationTest.cpp
  153   EXPECT_TRUE(Verifier.match("int a;", typeLoc()));
  159   EXPECT_TRUE(Verifier.match("long a;", typeLoc()));
  165   EXPECT_TRUE(Verifier.match("long double a;", typeLoc()));
  171   EXPECT_TRUE(Verifier.match("double long a;", typeLoc()));
  177   EXPECT_TRUE(Verifier.match("long int a;", typeLoc()));
  183   EXPECT_TRUE(Verifier.match("int long a;", typeLoc()));
  189   EXPECT_TRUE(Verifier.match("unsigned int a;", typeLoc()));
  195   EXPECT_TRUE(Verifier.match("int unsigned a;", typeLoc()));
  201   EXPECT_TRUE(Verifier.match("long long a;", typeLoc()));
  207   EXPECT_TRUE(Verifier.match("unsigned long long a;", typeLoc()));
  213   EXPECT_TRUE(Verifier.match("long unsigned long a;", typeLoc()));
  219   EXPECT_TRUE(Verifier.match("long long unsigned a;", typeLoc()));
  225   EXPECT_TRUE(Verifier.match("const long long a = 0;", typeLoc()));
  231   EXPECT_TRUE(Verifier.match("long const long a = 0;", typeLoc()));
  237   EXPECT_TRUE(Verifier.match("long long const a = 0;", typeLoc()));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  252     decl(hasDescendant(typeLoc().bind("x")), has(decl()));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
   93                       typeLoc(hasDescendant(loc(builtinType())))));