|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 2416 extern const internal::VariadicAllOfMatcher<QualType> qualType;
References
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 3302 return qualType(hasDeclaration(InnerMatcher)).matches(QT, Finder, Builder);
3355 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
3416 return references(qualType(hasDeclaration(InnerMatcher)))
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 465 REGISTER_MATCHER(qualType);
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp 224 qualType(hasCanonicalType(
225 qualType(hasDeclaration(
243 qualType(typedefType(hasDeclaration(
248 qualType(anyOf(qualType(booleanType()).bind("cpp_bool_type"),
248 qualType(anyOf(qualType(booleanType()).bind("cpp_bool_type"),
255 qualType(hasCanonicalType(isInteger()),
261 qualType(anyOf(SuspiciousScalarBooleanTypeM,
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 108 parmVarDecl(hasType(references(qualType(unless(isConstQualified())))))));
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 450 loc(qualType(hasDeclaration(DeclMatcher.bind("from_decl")))),
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 218 loc(qualType(hasDeclaration(Types.bind("use"))))),
tools/clang/tools/extra/clang-tidy/abseil/DurationDivisionCheck.cpp 32 hasImplicitDestinationType(qualType(unless(isInteger()))),
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp 36 hasParameter(0, hasType(qualType(has(substTemplateTypeParmType(
tools/clang/tools/extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp 69 hasType(qualType(rValueReferenceType(),
tools/clang/tools/extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp 77 hasType(qualType(rValueReferenceType(),
80 unless(references(qualType(isConstQualified()))))))
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 563 anyOf(hasType(StringTy), hasType(qualType(pointsTo(StringTy))));
565 auto CharTyArray = hasType(qualType(hasCanonicalType(
569 qualType(hasCanonicalType(pointerType(pointee(isAnyCharacter())))));
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp 125 varDecl(isDefinition(), hasType(qualType(hasCanonicalType(CharPtrType))),
128 hasType(qualType(hasCanonicalType(CharPtrType))),
136 expr(hasType(qualType(hasCanonicalType(arrayType()))))));
142 hasType(qualType(hasCanonicalType(pointerType(pointee(arrayType()))))))));
147 hasType(qualType(hasCanonicalType(recordType())))))));
151 hasType(qualType(hasCanonicalType(PointerToStructType))),
184 const auto NumType = qualType(hasCanonicalType(
186 const auto DenomType = qualType(hasCanonicalType(type().bind("denom-type")));
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp 68 hasArgument(0, hasType(qualType(isInteger()))),
69 hasArgument(1, hasType(qualType(isInteger()))),
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 30 qualType().bind("type")))))))),
41 unless(hasType(qualType(
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp 79 const auto SmartPointerType = qualType(hasUnqualifiedDesugaredType(
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 325 references(qualType(isConstQualified())))))),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp 68 functionDecl(returns(qualType(hasDeclaration(OwnerDecl)))))),
162 unless(returns(qualType(hasDeclaration(OwnerDecl)))))
tools/clang/tools/extra/clang-tidy/google/NonConstReferences.cpp 41 qualType(unless(isConstQualified())).bind("referenced_type"))),
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp 195 typeLoc(loc(qualType(typedefType(hasDeclaration(TestCaseTypeAlias)))),
tools/clang/tools/extra/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp 28 hasType(qualType(hasCanonicalType(hasDeclaration(cxxRecordDecl(
tools/clang/tools/extra/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp 25 hasType(qualType(isUnsignedInteger()).bind("varType")),
tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp 22 qualType(hasDeclaration(recordDecl(hasName("::llvm::Twine"))));
tools/clang/tools/extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp 30 const auto IsSelf = qualType(
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp 39 qualType(hasDeclaration(IoStateDecl), unless(elaboratedType()));
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 172 returns(qualType(unless(hasCanonicalType(referenceType())))
177 qualType(unless(hasCanonicalType(rValueReferenceType())))
248 TypeMatcher RecordWithBeginEnd = qualType(anyOf(
249 qualType(
256 qualType(unless(isConstQualified()),
tools/clang/tools/extra/clang-tidy/modernize/MakeSharedCheck.cpp 22 return qualType(hasUnqualifiedDesugaredType(
26 qualType().bind(PointerType)))))))));
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 92 cxxNewExpr(hasType(pointsTo(qualType(hasCanonicalType(
tools/clang/tools/extra/clang-tidy/modernize/MakeUniqueCheck.cpp 24 return qualType(hasUnqualifiedDesugaredType(
28 0, templateArgument(refersToType(qualType().bind(PointerType)))),
31 qualType(hasDeclaration(classTemplateSpecializationDecl(
35 0, templateArgument(refersToType(qualType(
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp 54 return qualType(unless(anyOf(referenceType(), isConstQualified())));
150 hasType(qualType(
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 92 auto AutoPtrType = qualType(hasDeclaration(AutoPtrDecl));
102 Finder->addMatcher(typeLoc(loc(qualType(AutoPtrType,
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 290 hasTemplateArgument(0, refersToType(qualType().bind("arg")));
310 hasType(qualType(hasDescendant(autoType()))))))),
tools/clang/tools/extra/clang-tidy/modernize/UseBoolLiteralsCheck.cpp 32 hasImplicitDestinationType(qualType(booleanType())),
40 hasImplicitDestinationType(qualType(booleanType())),
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp 41 unless(hasImplicitDestinationType(qualType(substTemplateTypeParmType()))),
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp 46 loc(qualType(
50 qualType(pointsTo(qualType(isAnyCharacter()))))))),
50 qualType(pointsTo(qualType(isAnyCharacter()))))))),
52 templateArgument(refersToType(qualType(hasDeclaration(
tools/clang/tools/extra/clang-tidy/performance/FasterStringFindCheck.cpp 44 return hasType(qualType(anyOf(substTemplateTypeParmType(),
tools/clang/tools/extra/clang-tidy/performance/ForRangeCopyCheck.cpp 40 hasType(qualType(
tools/clang/tools/extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp 52 hasType(qualType(references(qualType(isConstQualified())))),
52 hasType(qualType(references(qualType(isConstQualified())))),
tools/clang/tools/extra/clang-tidy/performance/InefficientStringConcatenationCheck.cpp 35 hasType(qualType(hasUnqualifiedDesugaredType(recordType(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp 40 auto ConstReference = referenceType(pointee(qualType(isConstQualified())));
60 hasType(qualType(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 81 hasType(qualType(
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp 33 parmVarDecl(hasType(qualType(isConstQualified()))).bind("param");
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp 34 const auto ValidContainer = qualType(hasUnqualifiedDesugaredType(
40 returns(qualType(isInteger(), unless(booleanType()))))
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp 23 hasType(qualType(
29 returns(qualType(pointsTo(type().bind("getType")))))))
42 returns(qualType(pointsTo(type().bind("op->Type")))))),
43 has(cxxMethodDecl(hasName("operator*"), returns(qualType(references(
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp 77 expr(anyOf(hasType(StringDecl), hasType(qualType(pointsTo(StringDecl)))));
tools/clang/tools/extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp 41 on(hasType(qualType(
tools/clang/tools/extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp 21 auto IsSusbstituted = qualType(anyOf(
26 hasTemplateArgument(1, refersToType(qualType(hasDeclaration(cxxRecordDecl(
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp 61 qualType(anyOf(referenceType(pointee(qualType(isConstQualified()))),
61 qualType(anyOf(referenceType(pointee(qualType(isConstQualified()))),
93 qualType(anyOf(referenceType(pointee(qualType(isConstQualified()))),
93 qualType(anyOf(referenceType(pointee(qualType(isConstQualified()))),
tools/clang/tools/extra/clang-tidy/utils/Matchers.h 47 return referenceType(pointee(qualType(isConstQualified())));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp 2173 qualType(arrayType(hasElementType(builtinType())))));
2176 qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
2179 qualType(isConstQualified(), arrayType())));
2183 qualType(isConstQualified(), arrayType(hasElementType(builtinType())))));
2186 qualType(arrayType(hasElementType(isConstQualified(), builtinType())))));
2189 qualType(arrayType(hasElementType(builtinType())),
2194 EXPECT_TRUE(matches("const int a = 0;", qualType(isInteger())));
2270 "int i = 1;", varDecl(hasType(qualType().bind("type")),
2272 hasType(qualType(equalsBoundNode("type"))))))));
2274 varDecl(hasType(qualType().bind("type")),
2276 qualType(equalsBoundNode("type"))))))));
2283 hasType(qualType(equalsBoundNode("type"))))))));
2336 functionDecl(returns(qualType().bind("type")),
2338 qualType(equalsBoundNode("type")))).bind("decl"))),
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp 1197 EXPECT_TRUE(matches("struct S {};", qualType().bind("loc")));
1323 loc(pointerType(pointee(qualType())))));
1329 loc(qualType(isConstQualified(), pointerType()))));
1528 specifiesTypeLoc(loc(qualType(asString("struct A"))))))));
1532 specifiesTypeLoc(loc(qualType(asString("struct N::A"))))))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 74 stmt(hasDescendant(qualType(builtinType())))));
88 qualType(hasDescendant(builtinType()))));
90 qualType(hasDescendant(
97 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))),
109 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))),
109 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))),
116 varDecl(hasName("i"), hasType(qualType(has(builtinType()))))));
119 varDecl(hasName("i"), hasType(qualType(has(pointerType()))))));
220 qualType(hasDeclaration(enumDecl(hasName("X")))))))));
236 parmVarDecl(hasType(qualType(hasDeclaration(cxxRecordDecl()))))));
722 varDecl(hasType(qualType(referenceType())))));
727 varDecl(hasType(qualType(hasCanonicalType(referenceType()))))));
1116 hasLHS(hasType(isInteger())), hasRHS(hasType(pointsTo(qualType()))));
2629 qualType(asString("int"))))));
2631 qualType(asString("double"))))));
2636 substTemplateTypeParmType(hasReplacementType(qualType()))));
tools/clang/unittests/Tooling/TransformerTest.cpp 797 RewriteRule QualTypeRule = makeRule(qualType(), change(text("Q")));