Home
last modified time | relevance | path

Searched refs:StatementMatcher (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DGtestMatchers.h45 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left,
46 StatementMatcher Right);
49 internal::BindableMatcher<Stmt> gtestAssertThat(StatementMatcher Actual,
50 StatementMatcher Matcher);
54 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left,
55 StatementMatcher Right);
58 internal::BindableMatcher<Stmt> gtestExpectThat(StatementMatcher Actual,
59 StatementMatcher Matcher);
64 internal::BindableMatcher<Stmt> gtestExpectCall(StatementMatcher MockObject,
71 internal::BindableMatcher<Stmt> gtestExpectCall(StatementMatcher MockCall,
[all …]
H A DASTMatchFinder.h159 void addMatcher(const StatementMatcher &NodeMatch,
H A DASTMatchers.h146 using StatementMatcher = internal::Matcher<Stmt>; variable
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp117 gtestComparisonInternal(MacroType Macro, GtestCmp Cmp, StatementMatcher Left, in gtestComparisonInternal()
118 StatementMatcher Right) { in gtestComparisonInternal()
125 gtestThatInternal(MacroType Macro, StatementMatcher Actual, in gtestThatInternal()
126 StatementMatcher Matcher) { in gtestThatInternal()
141 gtestCallInternal(MacroType Macro, StatementMatcher MockCall, MockArgs Args) { in gtestCallInternal()
175 gtestCallInternal(MacroType Macro, StatementMatcher MockObject, in gtestCallInternal()
185 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left, in gtestAssert()
186 StatementMatcher Right) { in gtestAssert()
190 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left, in gtestExpect()
191 StatementMatcher Right) { in gtestExpect()
[all …]
H A DASTMatchFinder.cpp1626 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp131 static StatementMatcher getRunLoopRunM(StatementMatcher Extra = anything()) { in getRunLoopRunM()
132 StatementMatcher MainRunLoopM = in getRunLoopRunM()
138 StatementMatcher MainRunLoopRunM = objcMessageExpr(hasSelector("run"), in getRunLoopRunM()
142 StatementMatcher XPCRunM = in getRunLoopRunM()
147 static StatementMatcher getOtherMessageSentM(StatementMatcher Extra = anything()) { in getOtherMessageSentM()
157 StatementMatcher RunLoopRunM = getRunLoopRunM(); in checkTempObjectsInSamePool()
158 StatementMatcher OtherMessageSentM = getOtherMessageSentM( in checkTempObjectsInSamePool()
161 StatementMatcher RunLoopInAutorelease = in checkTempObjectsInSamePool()
179 StatementMatcher RunLoopRunM = getRunLoopRunM(NoPoolM); in checkTempObjectsInNoPool()
180 StatementMatcher OtherMessageSentM = getOtherMessageSentM(NoPoolM); in checkTempObjectsInNoPool()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.h61 ast_matchers::StatementMatcher isPointerLikeOperatorStar();
62 ast_matchers::StatementMatcher isSmartPointerLikeOperatorStar();
63 ast_matchers::StatementMatcher isPointerLikeOperatorArrow();
64 ast_matchers::StatementMatcher isSmartPointerLikeOperatorArrow();
65 ast_matchers::StatementMatcher
67 ast_matchers::StatementMatcher
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.cpp132 ast_matchers::StatementMatcher isSmartPointerLikeOperatorStar() { in isSmartPointerLikeOperatorStar()
140 ast_matchers::StatementMatcher isSmartPointerLikeOperatorArrow() { in isSmartPointerLikeOperatorArrow()
148 ast_matchers::StatementMatcher isPointerLikeOperatorStar() { in isPointerLikeOperatorStar()
156 ast_matchers::StatementMatcher isPointerLikeOperatorArrow() { in isPointerLikeOperatorArrow()
164 ast_matchers::StatementMatcher
172 ast_matchers::StatementMatcher
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp211 const std::optional<StatementMatcher> &Ignorable = std::nullopt) { in isOptionalMemberCallWithNameMatcher()
220 const std::optional<StatementMatcher> &Ignorable = std::nullopt) { in isOptionalOperatorCallWithName()
883 std::optional<StatementMatcher>
895 StatementMatcher
896 valueCall(const std::optional<StatementMatcher> &IgnorableOptional) { in valueCall()
901 StatementMatcher
902 valueOperatorCall(const std::optional<StatementMatcher> &IgnorableOptional) { in valueOperatorCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp529 StatementMatcher WriteIntoIvarM = binaryOperator( in potentiallyWritesIntoIvar()
533 StatementMatcher ParentM = stmt(hasDescendant(WriteIntoIvarM)); in potentiallyWritesIntoIvar()
H A DRegionStore.cpp1241 StatementMatcher RefToStatic = stmt(hasDescendant(declRefExpr( in VisitCluster()