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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2419 extern const internal::VariadicAllOfMatcher<Type> type;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  501   REGISTER_MATCHER(type);
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp
   37   const auto DeclInStd = type(hasUnqualifiedDesugaredType(
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  559   auto StringTy = type(hasUnqualifiedDesugaredType(recordType(
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
   89                                     type(anything()).bind("castToType"))),
   91                                     type(anything()).bind("thisType")))))))
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
   89           has(hasUnqualifiedDesugaredType(type().bind("sizeof-arg-type")))),
   91           hasUnqualifiedDesugaredType(type().bind("sizeof-arg-type"))))))));
  148   const auto PointerToStructType = type(hasUnqualifiedDesugaredType(
  183   const auto ElemPtrType = pointerType(pointee(type().bind("elem-ptr-type")));
  185       type(anyOf(ElemType, ElemPtrType, type())).bind("num-type")));
  185       type(anyOf(ElemType, ElemPtrType, type())).bind("num-type")));
  186   const auto DenomType = qualType(hasCanonicalType(type().bind("denom-type")));
  228           hasUnqualifiedDesugaredType(type().bind("left-ptr-type")))))))),
  230           hasUnqualifiedDesugaredType(type().bind("right-ptr-type")))))))));
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp
   48   const auto CharPtrType = type(anyOf(pointerType(), arrayType()));
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
  153                                          pointsTo(type(equalsNode(Base)))),
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
   29                  returns(qualType(pointsTo(type().bind("getType")))))))
   42                         returns(qualType(pointsTo(type().bind("op->Type")))))),
   44                                                   type().bind("op*Type")))))));
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
   74   const auto StringDecl = type(hasUnqualifiedDesugaredType(recordType(
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2312       has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
 2313       has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))));
 2318       has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
 2319       has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1571         hasType(type(equalsNode(TypedNode)).bind(""))))))),
 1585     fieldDecl(hasName("y"), hasType(type().bind(""))).bind("decl"),