Home
last modified time | relevance | path

Searched refs:hasCanonicalType (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSizeofExpressionCheck.cpp126 varDecl(isDefinition(), hasType(hasCanonicalType(CharPtrType)), in registerMatchers()
130 expr(hasType(hasCanonicalType(CharPtrType)), in registerMatchers()
139 ignoringParenImpCasts(hasType(hasCanonicalType(arrayType()))); in registerMatchers()
145 hasType(hasCanonicalType(pointerType(pointee(arrayType()))))); in registerMatchers()
149 hasType(hasCanonicalType(recordType()))))); in registerMatchers()
153 hasType(hasCanonicalType(PointerToStructType)), unless(cxxThisExpr()))); in registerMatchers()
156 hasType(hasCanonicalType(arrayType(hasElementType(pointerType())) in registerMatchers()
159 ignoringParenImpCasts(hasType(hasCanonicalType( in registerMatchers()
211 hasCanonicalType(type(anyOf(ElemType, ElemPtrType, type())) in registerMatchers()
214 hasArgumentOfType(hasCanonicalType(type().bind("denom-type"))))))) in registerMatchers()
H A DFoldInitTypeCheck.cpp23 return hasCanonicalType(builtinType().bind(ID)); in registerMatchers()
35 hasType(hasCanonicalType(IteratorWithValueType("IterValueType")))); in registerMatchers()
37 hasType(hasCanonicalType(IteratorWithValueType("Iter2ValueType")))); in registerMatchers()
H A DUnusedRaiiCheck.cpp32 anyOf(hasType(hasCanonicalType(recordType(hasDeclaration( in registerMatchers()
34 hasType(hasCanonicalType(templateSpecializationType( in registerMatchers()
H A DStringIntegerAssignmentCheck.cpp26 hasTemplateArgument(0, refersToType(hasCanonicalType( in registerMatchers()
39 hasCanonicalType(equalsBoundNode("type")))))) in registerMatchers()
H A DSizeofContainerCheck.cpp23 expr(hasType(hasCanonicalType(hasDeclaration(cxxRecordDecl( in registerMatchers()
H A DUndefinedMemoryManipulationCheck.cpp28 hasType(ast_matchers::hasCanonicalType( in registerMatchers()
H A DUnhandledExceptionAtNewCheck.cpp55 qualType(hasCanonicalType(anyOf(BadAllocType, BadAllocReferenceType, in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnconventionalAssignOperatorCheck.cpp22 cxxMethodDecl(returns(hasCanonicalType(lValueReferenceType(pointee( in registerMatchers()
26 const auto IsSelf = qualType(hasCanonicalType( in registerMatchers()
41 const auto BadSelf = qualType(hasCanonicalType(referenceType( in registerMatchers()
H A DConstCorrectnessCheck.cpp71 hasType(hasCanonicalType(templateTypeParmType())), in registerMatchers()
75 hasType(referenceType(pointee(hasCanonicalType(templateTypeParmType())))), in registerMatchers()
83 hasType(hasCanonicalType(referenceType(pointee(functionType())))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp210 expr(hasType(hasCanonicalType( in checkASTCodeBody()
211 pointerType(pointee(hasCanonicalType( in checkASTCodeBody()
222 expr(hasType(hasCanonicalType( in checkASTCodeBody()
224 qualType(hasCanonicalType( in checkASTCodeBody()
255 qualType(hasCanonicalType(isInteger()), in checkASTCodeBody()
H A DObjCAutoreleaseWriteChecker.cpp175 parmVarDecl(hasType(hasCanonicalType(pointerType( in checkASTCodeBody()
176 pointee(hasCanonicalType(objcObjectPointerType())))))) in checkASTCodeBody()
200 hasType(hasCanonicalType(blockPointerType())), in checkASTCodeBody()
H A DPointerSortingChecker.cpp84 fieldDecl(hasType(hasCanonicalType( in matchSortWithPointers()
85 pointsTo(hasCanonicalType(pointerType())) in matchSortWithPointers()
H A DGCDAntipatternChecker.cpp104 hasCanonicalType(blockPointerType()) in findGCDAntiPatternWithSemaphore()
150 hasCanonicalType(blockPointerType()) in findGCDAntiPatternWithGroup()
H A DPointerIterationChecker.cpp72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DAssertEquals.cpp36 hasCanonicalType(asString("NSString *"))))), in registerMatchers()
38 hasCanonicalType(asString("NSString *")))))) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp87 cxxMethodDecl(returns(hasCanonicalType(matchers::isReferenceToConst()))) in AST_MATCHER_FUNCTION_P()
91 hasCanonicalType(recordType(hasDeclaration(namedDecl( in AST_MATCHER_FUNCTION_P()
105 return callExpr(callee(functionDecl(returns(hasCanonicalType( in AST_MATCHER_FUNCTION()
235 hasCanonicalType(allOf( in registerMatchers()
H A DForRangeCopyCheck.cpp41 unless(anyOf(hasCanonicalType(anyOf(referenceType(), pointerType())), in registerMatchers()
47 cxxMethodDecl(returns(unless(hasCanonicalType(referenceType())))))); in registerMatchers()
H A DUnnecessaryValueParamCheck.cpp68 hasCanonicalType(matchers::isExpensiveToCopy()), in registerMatchers()
69 unless(anyOf(hasCanonicalType(referenceType()), in registerMatchers()
H A DNoAutomaticMoveCheck.cpp32 hasCanonicalType(matchers::isExpensiveToCopy()), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/
H A DExceptionBaseclassCheck.cpp25 hasType(qualType(hasCanonicalType(hasDeclaration(cxxRecordDecl( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DShrinkToFitCheck.cpp39 hasType(hasCanonicalType(hasDeclaration(namedDecl(hasAnyName( in registerMatchers()
H A DUseAutoCheck.cpp221 pointee(hasCanonicalType(hasLocalQualifiers())))), in makeDeclWithNewMatcher()
H A DLoopConvertCheck.cpp189 returns(qualType(unless(hasCanonicalType(referenceType()))) in makeIteratorLoopMatcher()
194 qualType(unless(hasCanonicalType(rValueReferenceType()))) in makeIteratorLoopMatcher()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DLoopWidening.cpp71 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantSmartptrGetCheck.cpp35 expr(hasType(qualType(hasCanonicalType( in callToGet()

12