/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ShrinkToFitCheck.cpp | 33 expr(anyOf(memberExpr(member(equalsBoundNode("ContainerDecl"))), in registerMatchers() 34 declRefExpr(hasDeclaration(equalsBoundNode("ContainerDecl"))), in registerMatchers() 36 memberExpr(member(equalsBoundNode("ContainerDecl")))))), in registerMatchers() 38 hasDeclaration(equalsBoundNode("ContainerDecl")))))))); in registerMatchers()
|
D | MakeUniqueCheck.cpp | 36 equalsBoundNode(PointerType)))))))))))))))); in getSmartPointerTypeMatcher()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UnhandledSelfAssignmentCheck.cpp | 57 isCopyConstructor(), ofClass(equalsBoundNode("class")))))))); in registerMatchers() 65 varDecl(hasType(cxxRecordDecl(equalsBoundNode("class"))), in registerMatchers() 68 hasType(cxxRecordDecl(equalsBoundNode("class"))))))))); in registerMatchers() 75 hasName("operator="), ofClass(equalsBoundNode("class")))))))); in registerMatchers()
|
D | RedundantBranchConditionCheck.cpp | 53 varDecl(equalsBoundNode(CondVarStr)))), in registerMatchers() 58 equalsBoundNode(CondVarStr))))))))))) in registerMatchers()
|
D | TerminatingContinueCheck.cpp | 26 equalsBoundNode("closestLoop")); in registerMatchers()
|
D | SizeofContainerCheck.cpp | 33 hasRHS(ignoringParenCasts(equalsBoundNode("sizeof"))))))), in registerMatchers()
|
D | SuspiciousEnumUsageCheck.cpp | 129 unless(equalsBoundNode("enumDecl")))))))) in registerMatchers() 138 enumDecl(equalsBoundNode("enumDecl"))))))), in registerMatchers()
|
D | IntegerDivisionCheck.cpp | 41 hasAncestor(castExpr(equalsBoundNode("FloatCast"))))))) in registerMatchers()
|
D | StringIntegerAssignmentCheck.cpp | 39 hasCanonicalType(equalsBoundNode("type")))))) in registerMatchers()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | LoopUnrolling.cpp | 133 changeIntBoundNode(equalsBoundNode(std::string(NodeName))), in hasSuspiciousStmt() 134 callByRef(equalsBoundNode(std::string(NodeName))), in hasSuspiciousStmt() 135 getAddrTo(equalsBoundNode(std::string(NodeName))), in hasSuspiciousStmt() 136 assignedToRef(equalsBoundNode(std::string(NodeName)))))); in hasSuspiciousStmt() 147 equalsBoundNode("initVarName"))))), in forLoopMatcher() 149 equalsBoundNode("initVarName"))))), in forLoopMatcher() 157 to(varDecl(allOf(equalsBoundNode("initVarName"), in forLoopMatcher()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | StrCatAppendCheck.cpp | 50 hasArgument(0, ignoringImpCasts(declRefExpr(to(equalsBoundNode("LHS")), in registerMatchers() 55 to(equalsBoundNode("LHS")), unless(equalsBoundNode("Arg0"))))))); 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 | DeleteNullPointerCheck.cpp | 24 to(decl(equalsBoundNode("deletedPointer")))))))) in registerMatchers() 29 fieldDecl(equalsBoundNode("deletedMemberPointer")))))))) in registerMatchers()
|
D | ContainerSizeEmptyCheck.cpp | 63 ofClass(equalsBoundNode("container")))))) in registerMatchers() 94 cxxMethodDecl(ofClass(equalsBoundNode("container")))))) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | SlicingCheck.cpp | 40 cxxRecordDecl(isDerivedFrom(equalsBoundNode("BaseDecl"))) in registerMatchers() 46 hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl")))); in registerMatchers()
|
D | InitVariablesCheck.cpp | 46 unless(equalsBoundNode(BadDecl))) in registerMatchers()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | NumberObjectConversionChecker.cpp | 237 equalsBoundNode("c_object"), in checkASTCodeBody() 238 equalsBoundNode("objc_object"), in checkASTCodeBody() 239 equalsBoundNode("cpp_object"))); in checkASTCodeBody()
|
D | RunLoopAutoreleaseLeakChecker.cpp | 148 return objcMessageExpr(unless(anyOf(equalsBoundNode(RunLoopBind), in getOtherMessageSentM() 149 equalsBoundNode(RunLoopRunBind))), in getOtherMessageSentM()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1808 hasType(qualType(equalsBoundNode("type")))))))); in TEST() 1812 qualType(equalsBoundNode("type")))))))); in TEST() 1819 hasType(qualType(equalsBoundNode("type")))))))); in TEST() 1826 hasParent(stmt(has(stmt(equalsBoundNode("if"))))))))); in TEST() 1830 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST() 1837 hasParent(decl(has(decl(equalsBoundNode("record"))))))))); in TEST() 1841 has(decl(equalsBoundNode("record"))))))); in TEST() 1849 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t")))))))); in TEST() 1855 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t")))))))); in TEST() 1874 qualType(equalsBoundNode("type")))).bind("decl"))), in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientVectorOperationCheck.cpp | 97 declStmt(hasSingleDecl(equalsBoundNode(std::string(VarDeclName)))) in AddMatcher() 110 declRefExpr(to(varDecl(equalsBoundNode(LoopInitVarName))))); in AddMatcher()
|
D | NoAutomaticMoveCheck.cpp | 44 pointee(type(equalsBoundNode("SrcT"))))))))))); in registerMatchers()
|
D | InefficientStringConcatenationCheck.cpp | 52 hasDeclaration(decl(equalsBoundNode("lhsStrT"))))))), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | MutatingCopyCheck.cpp | 26 declRefExpr(to(decl(equalsBoundNode(std::string(SourceDeclName)))))); in registerMatchers()
|
D | NonTrivialTypesLibcMemoryCallsCheck.cpp | 98 expr(sizeOfExpr(hasArgumentOfType(equalsBoundNode("Record")))); in registerMatchers()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 3093 hasType(qualType(equalsBoundNode("type")))))))); in TEST_P() 3097 qualType(equalsBoundNode("type")))))))); in TEST_P() 3104 hasType(qualType(equalsBoundNode("type")))))))); in TEST_P() 3111 hasParent(stmt(has(stmt(equalsBoundNode("if"))))))))); in TEST_P() 3115 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST_P() 3128 hasParent(decl(has(decl(equalsBoundNode("record"))))))))); in TEST_P() 3132 has(decl(equalsBoundNode("record"))))))); in TEST_P() 3145 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t")))))))); in TEST_P() 3151 has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t")))))))); in TEST_P() 3170 forEachDescendant(varDecl(hasType(qualType(equalsBoundNode("type")))) in TEST_P() [all …]
|