| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SizeofExpressionCheck.cpp | 126 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 D | FoldInitTypeCheck.cpp | 23 return hasCanonicalType(builtinType().bind(ID)); in registerMatchers() 35 hasType(hasCanonicalType(IteratorWithValueType("IterValueType")))); in registerMatchers() 37 hasType(hasCanonicalType(IteratorWithValueType("Iter2ValueType")))); in registerMatchers()
|
| H A D | UnusedRaiiCheck.cpp | 32 anyOf(hasType(hasCanonicalType(recordType(hasDeclaration( in registerMatchers() 34 hasType(hasCanonicalType(templateSpecializationType( in registerMatchers()
|
| H A D | StringIntegerAssignmentCheck.cpp | 26 hasTemplateArgument(0, refersToType(hasCanonicalType( in registerMatchers() 39 hasCanonicalType(equalsBoundNode("type")))))) in registerMatchers()
|
| H A D | SizeofContainerCheck.cpp | 23 expr(hasType(hasCanonicalType(hasDeclaration(cxxRecordDecl( in registerMatchers()
|
| H A D | UndefinedMemoryManipulationCheck.cpp | 28 hasType(ast_matchers::hasCanonicalType( in registerMatchers()
|
| H A D | UnhandledExceptionAtNewCheck.cpp | 55 qualType(hasCanonicalType(anyOf(BadAllocType, BadAllocReferenceType, in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnconventionalAssignOperatorCheck.cpp | 22 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 D | ConstCorrectnessCheck.cpp | 71 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 D | NumberObjectConversionChecker.cpp | 210 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 D | ObjCAutoreleaseWriteChecker.cpp | 175 parmVarDecl(hasType(hasCanonicalType(pointerType( in checkASTCodeBody() 176 pointee(hasCanonicalType(objcObjectPointerType())))))) in checkASTCodeBody() 200 hasType(hasCanonicalType(blockPointerType())), in checkASTCodeBody()
|
| H A D | PointerSortingChecker.cpp | 84 fieldDecl(hasType(hasCanonicalType( in matchSortWithPointers() 85 pointsTo(hasCanonicalType(pointerType())) in matchSortWithPointers()
|
| H A D | GCDAntipatternChecker.cpp | 104 hasCanonicalType(blockPointerType()) in findGCDAntiPatternWithSemaphore() 150 hasCanonicalType(blockPointerType()) in findGCDAntiPatternWithGroup()
|
| H A D | PointerIterationChecker.cpp | 72 auto PointerTypeM = varDecl(hasType(hasCanonicalType(pointerType()))); in matchUnorderedIterWithPointers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/ |
| H A D | AssertEquals.cpp | 36 hasCanonicalType(asString("NSString *"))))), in registerMatchers() 38 hasCanonicalType(asString("NSString *")))))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | UnnecessaryCopyInitialization.cpp | 87 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 D | ForRangeCopyCheck.cpp | 41 unless(anyOf(hasCanonicalType(anyOf(referenceType(), pointerType())), in registerMatchers() 47 cxxMethodDecl(returns(unless(hasCanonicalType(referenceType())))))); in registerMatchers()
|
| H A D | UnnecessaryValueParamCheck.cpp | 68 hasCanonicalType(matchers::isExpensiveToCopy()), in registerMatchers() 69 unless(anyOf(hasCanonicalType(referenceType()), in registerMatchers()
|
| H A D | NoAutomaticMoveCheck.cpp | 32 hasCanonicalType(matchers::isExpensiveToCopy()), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/hicpp/ |
| H A D | ExceptionBaseclassCheck.cpp | 25 hasType(qualType(hasCanonicalType(hasDeclaration(cxxRecordDecl( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ShrinkToFitCheck.cpp | 39 hasType(hasCanonicalType(hasDeclaration(namedDecl(hasAnyName( in registerMatchers()
|
| H A D | UseAutoCheck.cpp | 221 pointee(hasCanonicalType(hasLocalQualifiers())))), in makeDeclWithNewMatcher()
|
| H A D | LoopConvertCheck.cpp | 189 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 D | LoopWidening.cpp | 71 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))), in getWidenedLoopState()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantSmartptrGetCheck.cpp | 35 expr(hasType(qualType(hasCanonicalType( in callToGet()
|