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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 5365 extern const AstTypeMatcher<BuiltinType> builtinType;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  147   REGISTER_MATCHER(builtinType);
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp
   42               unless(hasTemplateArgument(0, refersToType(builtinType()))),
   54               unless(hasTemplateArgument(0, refersToType(builtinType()))),
   66                    unless(hasTemplateArgument(0, refersToType(builtinType()))),
   80                    unless(hasTemplateArgument(0, refersToType(builtinType()))),
tools/clang/tools/extra/clang-tidy/bugprone/FoldInitTypeCheck.cpp
   23     return hasCanonicalType(builtinType().bind(ID));
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
   42       implicitCastExpr(hasImplicitDestinationType(builtinType()),
   43                        hasSourceExpression(hasType(builtinType())),
   53                                     hasLHS(expr(hasType(builtinType()))),
   54                                     hasRHS(expr(hasType(builtinType()))),
tools/clang/tools/extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
   39                    returns(unless(anyOf(builtinType(), autoType()))),
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2169                          arrayType(hasElementType(builtinType()))));
 2173     qualType(arrayType(hasElementType(builtinType())))));
 2176     qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
 2183     qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
 2186     qualType(arrayType(hasElementType(isConstQualified(), builtinType())))));
 2189     qualType(arrayType(hasElementType(builtinType())),
 2193                       constantArrayType(hasElementType(builtinType()))));
 2206     complexType(hasElementType(builtinType()))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1204     constantArrayType(hasElementType(builtinType()))));
 1428     loc(pointerType(pointee(builtinType())))));
 1431     pointerType(pointee(builtinType()))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
   67                       decl(hasDescendant(loc(builtinType())))));
   69                       stmt(hasDescendant(builtinType()))));
   72                       stmt(hasDescendant(loc(builtinType())))));
   74                       stmt(hasDescendant(qualType(builtinType())))));
   88                       qualType(hasDescendant(builtinType()))));
   91                         pointerType(pointee(builtinType()))))));
   93                       typeLoc(hasDescendant(loc(builtinType())))));
  116     varDecl(hasName("i"), hasType(qualType(has(builtinType()))))));
 2308                       referenceType(pointee(builtinType()))));
 2309   EXPECT_TRUE(matches("int *a;", pointerType(pointee(builtinType()))));
 2312                       loc(pointerType(pointee(builtinType())))));
 2316     pointerType(pointee(isConstQualified(), builtinType()))));
 2319     pointerType(pointee(isConstQualified(), builtinType()))));