Home
last modified time | relevance | path

Searched refs:matchStmt (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DStencilTest.cpp71 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
105 auto StmtMatch = matchStmt( in testError()
145 auto StmtMatch = matchStmt( in TEST_F()
177 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
185 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
225 auto StmtMatch = matchStmt(Input, selectMatcher()); in TEST_F()
233 auto StmtMatch = matchStmt(Input, selectMatcher()); in TEST_F()
241 auto StmtMatch = matchStmt(Input, selectMatcher()); in TEST_F()
252 auto StmtMatch = matchStmt(Input, selectMatcher()); in TEST_F()
476 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
88 auto StmtMatch = matchStmt(Snippet, expr().bind("expr")); in testPredicate()
98 auto StmtMatch = matchStmt( in testPredicateOnArg()
149 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST()
160 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("ty")))); in TEST()
193 auto StmtMatch = matchStmt(Snippet, expr().bind("expr")); in testBuilder()
202 auto StmtMatch = matchStmt(Snippet, expr().bind("expr")); in testBuildAccess()
254 auto StmtMatch = matchStmt( in TEST()
395 matchStmt(Snippet, binaryOperator(isAssignmentOperator(), in TEST()
412 auto StmtMatch = matchStmt( in TEST()
[all …]