/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
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()
|
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() 112 recordType(hasDeclaration(cxxRecordDecl(IsAHandle))))), in registerMatchersForVariables() 122 hasDeclaration(cxxRecordDecl(IsAHandle))))), in registerMatchersForVariables() 163 recordType(hasDeclaration(recordDecl( in registerMatchersForReturn()
|
D | RedundantBranchConditionCheck.cpp | 46 declRefExpr(hasDeclaration(ImmutableVar)), in registerMatchers() 49 hasDeclaration(ImmutableVar)))))))), in registerMatchers() 52 anyOf(declRefExpr(hasDeclaration( in registerMatchers() 57 declRefExpr(hasDeclaration(varDecl( in registerMatchers()
|
D | StringConstructorCheck.cpp | 77 BoundStringLiteral, declRefExpr(hasDeclaration(anyOf( in registerMatchers() 84 hasDeclaration(cxxMethodDecl(hasName("basic_string"))), in registerMatchers() 103 hasDeclaration(cxxConstructorDecl(ofClass( in registerMatchers() 126 hasDeclaration(cxxConstructorDecl(ofClass(cxxRecordDecl( in registerMatchers()
|
D | StringLiteralWithEmbeddedNulCheck.cpp | 43 hasDeclaration(cxxMethodDecl(hasName("basic_string")))), in registerMatchers() 47 hasDeclaration(cxxMethodDecl(hasName("basic_string"))), in registerMatchers()
|
D | UnhandledSelfAssignmentCheck.cpp | 56 hasDescendant(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in registerMatchers() 81 recordType(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ShrinkToFitCheck.cpp | 27 declRefExpr(hasDeclaration(valueDecl().bind("ContainerDecl"))); in registerMatchers() 34 declRefExpr(hasDeclaration(equalsBoundNode("ContainerDecl"))), in registerMatchers() 38 hasDeclaration(equalsBoundNode("ContainerDecl")))))))); in registerMatchers() 42 on(hasType(hasCanonicalType(hasDeclaration(namedDecl( in registerMatchers()
|
D | UseEmplaceCheck.cpp | 52 hasDeclaration(functionDecl(hasName("push_back"))), in registerMatchers() 60 auto IsCtorOfSmartPtr = hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName( in registerMatchers() 65 ignoringImplicit(memberExpr(hasDeclaration(fieldDecl(isBitField()))))); in registerMatchers() 78 auto IsPrivateCtor = hasDeclaration(cxxConstructorDecl(isPrivate())); in registerMatchers() 105 hasDeclaration(cxxConstructorDecl(ofClass(hasAnyName( in registerMatchers()
|
D | UseTransparentFunctorsCheck.cpp | 45 hasDeclaration(classTemplateSpecializationDecl( in registerMatchers() 49 templateArgument(refersToType(qualType(hasDeclaration( in registerMatchers() 60 Finder->addMatcher(cxxConstructExpr(hasDeclaration(cxxMethodDecl( in registerMatchers()
|
D | MakeUniqueCheck.cpp | 25 recordType(hasDeclaration(classTemplateSpecializationDecl( in getSmartPointerTypeMatcher() 31 qualType(hasDeclaration(classTemplateSpecializationDecl( in getSmartPointerTypeMatcher()
|
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | StaticObjectExceptionCheck.cpp | 30 anyOf(hasDescendant(cxxConstructExpr(hasDeclaration( in registerMatchers() 32 hasDescendant(cxxNewExpr(hasDeclaration( in registerMatchers() 34 hasDescendant(callExpr(hasDeclaration( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
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()
|
D | NoAutomaticMoveCheck.cpp | 33 unless(hasDeclaration(namedDecl( in registerMatchers() 51 hasDeclaration(LValueRefCtor), in registerMatchers()
|
D | UnnecessaryCopyInitialization.cpp | 68 unless(hasDeclaration(namedDecl( in registerMatchers() 70 unless(hasDeclaration(namedDecl( in registerMatchers() 77 hasDeclaration(cxxConstructorDecl( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | UnconventionalAssignOperatorCheck.cpp | 23 anyOf(autoType(), hasDeclaration(equalsBoundNode("class"))))))); in registerMatchers() 26 anyOf(hasDeclaration(equalsBoundNode("class")), in registerMatchers() 27 referenceType(pointee(hasDeclaration(equalsBoundNode("class")))))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
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()
|
D | ContainerSizeEmptyCheck.cpp | 30 recordType(hasDeclaration(cxxRecordDecl(isSameOrDerivedFrom( in registerMatchers() 69 hasDeclaration(cxxConstructorDecl(isDefaultConstructor()))); in registerMatchers() 76 hasDeclaration(cxxConstructorDecl(isCopyConstructor())), in registerMatchers() 79 hasDeclaration(cxxConstructorDecl(isMoveConstructor())), in registerMatchers()
|
D | DeleteNullPointerCheck.cpp | 28 cxxDeleteExpr(has(castExpr(has(memberExpr(hasDeclaration( in registerMatchers() 34 memberExpr(hasDeclaration(fieldDecl().bind("deletedMemberPointer"))))); in registerMatchers()
|
D | RedundantStringInitCheck.cpp | 82 hasDeclaration(cxxMethodDecl(hasStringCtorName))), in registerMatchers() 86 hasDeclaration(cxxMethodDecl(hasStringCtorName)), in registerMatchers() 99 recordType(hasDeclaration(cxxRecordDecl(hasStringTypeName))))); in registerMatchers()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/zircon/ |
D | TemporaryObjectsCheck.cpp | 32 cxxTemporaryObjectExpr(hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers() 41 hasDeclaration(cxxConstructorDecl(hasParent( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/boost/ |
D | UseToStringCheck.cpp | 27 hasDeclaration(functionDecl( in registerMatchers() 28 returns(hasDeclaration(classTemplateSpecializationDecl( in registerMatchers()
|
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST() 243 has(labelStmt(hasDeclaration(labelDecl(hasName("loop"))))), in TEST() 244 has(addrLabelExpr(hasDeclaration(labelDecl(hasName("loop"))))) in TEST() 265 hasDeclaration( in TEST()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
D | FindAllSymbols.cpp | 218 loc(qualType(hasDeclaration(Types.bind("use"))))), in registerMatchers() 224 loc(typedefType(hasDeclaration(Typedefs.bind("use"))))), in registerMatchers() 231 loc(templateSpecializationType(hasDeclaration( in registerMatchers()
|