Home
last modified time | relevance | path

Searched refs:equalsBoundNode (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DShrinkToFitCheck.cpp33 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()
DMakeUniqueCheck.cpp36 equalsBoundNode(PointerType)))))))))))))))); in getSmartPointerTypeMatcher()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUnhandledSelfAssignmentCheck.cpp57 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()
DRedundantBranchConditionCheck.cpp53 varDecl(equalsBoundNode(CondVarStr)))), in registerMatchers()
58 equalsBoundNode(CondVarStr))))))))))) in registerMatchers()
DTerminatingContinueCheck.cpp26 equalsBoundNode("closestLoop")); in registerMatchers()
DSizeofContainerCheck.cpp33 hasRHS(ignoringParenCasts(equalsBoundNode("sizeof"))))))), in registerMatchers()
DSuspiciousEnumUsageCheck.cpp129 unless(equalsBoundNode("enumDecl")))))))) in registerMatchers()
138 enumDecl(equalsBoundNode("enumDecl"))))))), in registerMatchers()
DIntegerDivisionCheck.cpp41 hasAncestor(castExpr(equalsBoundNode("FloatCast"))))))) in registerMatchers()
DStringIntegerAssignmentCheck.cpp39 hasCanonicalType(equalsBoundNode("type")))))) in registerMatchers()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DLoopUnrolling.cpp133 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/
DStrCatAppendCheck.cpp50 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/
DUnconventionalAssignOperatorCheck.cpp23 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/
DDeleteNullPointerCheck.cpp24 to(decl(equalsBoundNode("deletedPointer")))))))) in registerMatchers()
29 fieldDecl(equalsBoundNode("deletedMemberPointer")))))))) in registerMatchers()
DContainerSizeEmptyCheck.cpp63 ofClass(equalsBoundNode("container")))))) in registerMatchers()
94 cxxMethodDecl(ofClass(equalsBoundNode("container")))))) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSlicingCheck.cpp40 cxxRecordDecl(isDerivedFrom(equalsBoundNode("BaseDecl"))) in registerMatchers()
46 hasParent(cxxConstructorDecl(ofClass(equalsBoundNode("DerivedDecl")))); in registerMatchers()
DInitVariablesCheck.cpp46 unless(equalsBoundNode(BadDecl))) in registerMatchers()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNumberObjectConversionChecker.cpp237 equalsBoundNode("c_object"), in checkASTCodeBody()
238 equalsBoundNode("objc_object"), in checkASTCodeBody()
239 equalsBoundNode("cpp_object"))); in checkASTCodeBody()
DRunLoopAutoreleaseLeakChecker.cpp148 return objcMessageExpr(unless(anyOf(equalsBoundNode(RunLoopBind), in getOtherMessageSentM()
149 equalsBoundNode(RunLoopRunBind))), in getOtherMessageSentM()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1808 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/
DInefficientVectorOperationCheck.cpp97 declStmt(hasSingleDecl(equalsBoundNode(std::string(VarDeclName)))) in AddMatcher()
110 declRefExpr(to(varDecl(equalsBoundNode(LoopInitVarName))))); in AddMatcher()
DNoAutomaticMoveCheck.cpp44 pointee(type(equalsBoundNode("SrcT"))))))))))); in registerMatchers()
DInefficientStringConcatenationCheck.cpp52 hasDeclaration(decl(equalsBoundNode("lhsStrT"))))))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DMutatingCopyCheck.cpp26 declRefExpr(to(decl(equalsBoundNode(std::string(SourceDeclName)))))); in registerMatchers()
DNonTrivialTypesLibcMemoryCallsCheck.cpp98 expr(sizeOfExpr(hasArgumentOfType(equalsBoundNode("Record")))); in registerMatchers()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp3093 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 …]

12