Home
last modified time | relevance | path

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

/freebsd-14.2/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);
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,
75 internal::BindableMatcher<Stmt> gtestOnCall(StatementMatcher MockObject,
[all …]
H A DASTMatchFinder.h159 void addMatcher(const StatementMatcher &NodeMatch,
H A DASTMatchers.h144 using StatementMatcher = internal::Matcher<Stmt>; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp123 StatementMatcher Right) { in gtestComparisonInternal()
130 gtestThatInternal(MacroType Macro, StatementMatcher Actual, in gtestThatInternal()
131 StatementMatcher Matcher) { in gtestThatInternal()
180 gtestCallInternal(MacroType Macro, StatementMatcher MockObject, in gtestCallInternal()
191 StatementMatcher Right) { in gtestAssert()
196 StatementMatcher Right) { in gtestExpect()
200 internal::BindableMatcher<Stmt> gtestAssertThat(StatementMatcher Actual, in gtestAssertThat()
205 internal::BindableMatcher<Stmt> gtestExpectThat(StatementMatcher Actual, in gtestExpectThat()
210 internal::BindableMatcher<Stmt> gtestOnCall(StatementMatcher MockObject, in gtestOnCall()
216 internal::BindableMatcher<Stmt> gtestOnCall(StatementMatcher MockCall, in gtestOnCall()
[all …]
H A DASTMatchFinder.cpp1603 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp92 const std::optional<StatementMatcher> &Ignorable = std::nullopt) { in isOptionalMemberCallWithNameMatcher()
104 const std::optional<StatementMatcher> &Ignorable = std::nullopt) { in isOptionalOperatorCallWithName()
621 std::optional<StatementMatcher>
633 StatementMatcher
634 valueCall(const std::optional<StatementMatcher> &IgnorableOptional) { in valueCall()
639 StatementMatcher
640 valueOperatorCall(const std::optional<StatementMatcher> &IgnorableOptional) { in valueOperatorCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp618 StatementMatcher WriteIntoIvarM = binaryOperator( in potentiallyWritesIntoIvar()
622 StatementMatcher ParentM = stmt(hasDescendant(WriteIntoIvarM)); in potentiallyWritesIntoIvar()
H A DRegionStore.cpp1073 StatementMatcher RefToStatic = stmt(hasDescendant(declRefExpr( in VisitCluster()