| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SpuriouslyWakeUpFunctionsCheck.cpp | 22 hasDeclaration(varDecl(hasType(recordDecl(classTemplateSpecializationDecl( in registerMatchers() 25 0, templateArgument(refersToType(qualType(hasDeclaration( in registerMatchers() 31 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers() 38 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers() 45 allOf(hasDescendant(memberExpr(hasDeclaration(functionDecl( in registerMatchers()
|
| H A D | DanglingHandleCheck.cpp | 28 anyOf(cxxConstructExpr(hasDeclaration(cxxMethodDecl(ofClass(IsAHandle))), in handleFrom() 78 recordType(hasDeclaration(recordDecl(isASequence())))))))), in makeContainerMatcher() 82 recordType(hasDeclaration(recordDecl( in makeContainerMatcher() 110 recordType(hasDeclaration(cxxRecordDecl(IsAHandle))))), in registerMatchersForVariables() 120 hasDeclaration(cxxRecordDecl(IsAHandle))))), in registerMatchersForVariables() 161 recordType(hasDeclaration(recordDecl( in registerMatchersForReturn()
|
| H A D | RedundantBranchConditionCheck.cpp | 52 declRefExpr(hasDeclaration(ImmutableVar)).bind(OuterIfVar1Str), in registerMatchers() 55 hasEitherOperand(declRefExpr(hasDeclaration(ImmutableVar)) in registerMatchers() 59 declRefExpr(hasDeclaration( in registerMatchers() 65 declRefExpr(hasDeclaration(varDecl( in registerMatchers()
|
| H A D | StringConstructorCheck.cpp | 79 BoundStringLiteral, declRefExpr(hasDeclaration(anyOf( in registerMatchers() 86 hasDeclaration(cxxMethodDecl(hasName("basic_string"))), in registerMatchers() 105 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers() 129 hasDeclaration(cxxConstructorDecl(ofClass(anyOf( in registerMatchers()
|
| H A D | StringLiteralWithEmbeddedNulCheck.cpp | 43 hasDeclaration(cxxMethodDecl(hasName("basic_string")))), in registerMatchers() 47 hasDeclaration(cxxMethodDecl(hasName("basic_string"))), in registerMatchers()
|
| H A D | UnhandledExceptionAtNewCheck.cpp | 48 recordType(hasDeclaration(cxxRecordDecl(hasName("::std::bad_alloc")))); in registerMatchers() 50 recordType(hasDeclaration(cxxRecordDecl(hasName("::std::exception")))); in registerMatchers()
|
| H A D | UnusedRaiiCheck.cpp | 32 anyOf(hasType(hasCanonicalType(recordType(hasDeclaration( in registerMatchers() 35 hasDeclaration(classTemplateDecl(has( in registerMatchers()
|
| H A D | UnhandledSelfAssignmentCheck.cpp | 53 hasDescendant(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in registerMatchers() 78 recordType(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | StdAllocatorConstCheck.cpp | 21 recordType(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers() 38 recordType(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers() 49 hasDeclaration(namedDecl(hasContainerName))))))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseEmplaceCheck.cpp | 131 hasDeclaration(functionDecl(hasName("push_back"))), in registerMatchers() 135 hasDeclaration( in registerMatchers() 146 hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(SmartPointers)))); in registerMatchers() 150 ignoringImplicit(memberExpr(hasDeclaration(fieldDecl(isBitField()))))); in registerMatchers() 164 hasDeclaration(cxxConstructorDecl(anyOf(isPrivate(), isProtected()))); in registerMatchers() 189 hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName(TupleTypes)))))); in registerMatchers() 228 hasUnqualifiedDesugaredType(recordType(hasDeclaration( in registerMatchers()
|
| H A D | ShrinkToFitCheck.cpp | 26 ShrinkableExpr.with(hasDeclaration(valueDecl().bind("ContainerDecl"))); in registerMatchers() 28 hasDeclaration(valueDecl(equalsBoundNode("ContainerDecl")))); in registerMatchers() 39 hasType(hasCanonicalType(hasDeclaration(namedDecl(hasAnyName( in registerMatchers()
|
| H A D | UseTransparentFunctorsCheck.cpp | 45 hasDeclaration(classTemplateSpecializationDecl( in registerMatchers() 49 templateArgument(refersToType(qualType(hasDeclaration( in registerMatchers() 60 Finder->addMatcher(cxxConstructExpr(hasDeclaration(cxxMethodDecl( in registerMatchers()
|
| H A D | MakeUniqueCheck.cpp | 25 recordType(hasDeclaration(classTemplateSpecializationDecl( in getSmartPointerTypeMatcher() 31 qualType(hasDeclaration(classTemplateSpecializationDecl( in getSmartPointerTypeMatcher()
|
| H A D | UseAutoCheck.cpp | 177 return typedefType(hasDeclaration(standardIterator())); in typedefIterator() 183 return recordType(hasDeclaration(standardIterator())); in nestedIterator() 189 auto HasIteratorDecl = hasDeclaration(namedDecl(hasStdIteratorName())); in iteratorFromUsingDeclaration() 194 hasQualifier(specifiesType(templateSpecializationType(hasDeclaration( in iteratorFromUsingDeclaration()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | StaticObjectExceptionCheck.cpp | 30 anyOf(hasDescendant(cxxConstructExpr(hasDeclaration( in registerMatchers() 32 hasDescendant(cxxNewExpr(hasDeclaration( in registerMatchers() 34 hasDescendant(callExpr(hasDeclaration( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | InefficientStringConcatenationCheck.cpp | 33 hasDeclaration(cxxRecordDecl(hasName("::std::basic_string"))))))); in registerMatchers() 49 hasDeclaration(decl().bind("lhsStrT"))) in registerMatchers() 52 hasDeclaration(decl(equalsBoundNode("lhsStrT"))))))), in registerMatchers()
|
| H A D | NoAutomaticMoveCheck.cpp | 33 unless(hasDeclaration(namedDecl( in registerMatchers() 51 hasDeclaration(LValueRefCtor), in registerMatchers()
|
| H A D | UnnecessaryCopyInitialization.cpp | 91 hasCanonicalType(recordType(hasDeclaration(namedDecl( in AST_MATCHER_FUNCTION_P() 237 unless(hasDeclaration(namedDecl( in registerMatchers() 239 unless(hasDeclaration(namedDecl( in registerMatchers() 246 hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantStringCStrCheck.cpp | 74 hasDeclaration(cxxRecordDecl(hasName("::std::basic_string")))))); in registerMatchers() 81 hasDeclaration(cxxMethodDecl(hasName("basic_string")))), in registerMatchers() 84 hasDeclaration(cxxMethodDecl(hasName("basic_string"))), in registerMatchers() 167 hasDeclaration(cxxMethodDecl(hasAnyName( in registerMatchers()
|
| H A D | RedundantStringInitCheck.cpp | 74 hasDeclaration(cxxMethodDecl(HasStringCtorName))), in registerMatchers() 78 hasDeclaration(cxxMethodDecl(HasStringCtorName)), in registerMatchers() 91 recordType(hasDeclaration(cxxRecordDecl(HasStringTypeName))))); in registerMatchers()
|
| H A D | DeleteNullPointerCheck.cpp | 28 cxxDeleteExpr(has(memberExpr(hasDeclaration( in registerMatchers() 34 memberExpr(hasDeclaration(fieldDecl().bind("deletedMemberPointer")))); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnconventionalAssignOperatorCheck.cpp | 24 anyOf(autoType(), hasDeclaration(equalsBoundNode("class")))))))); in registerMatchers() 27 anyOf(hasDeclaration(equalsBoundNode("class")), in registerMatchers() 28 referenceType(pointee(hasDeclaration(equalsBoundNode("class"))))))); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NumberObjectConversionChecker.cpp | 202 typedefType(hasDeclaration(anyOf( in checkASTCodeBody() 212 recordType(hasDeclaration( in checkASTCodeBody() 225 qualType(hasDeclaration( in checkASTCodeBody() 243 qualType(typedefType(hasDeclaration( in checkASTCodeBody() 256 unless(typedefType(hasDeclaration( in checkASTCodeBody()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/zircon/ |
| H A D | TemporaryObjectsCheck.cpp | 32 cxxTemporaryObjectExpr(hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers() 41 hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/boost/ |
| H A D | UseToStringCheck.cpp | 27 hasDeclaration(functionDecl( in registerMatchers() 28 returns(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers()
|