Searched refs:matchStmt (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/unittests/Tooling/ |
D | StencilTest.cpp | 58 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function 91 auto StmtMatch = matchStmt( in testError() 131 auto StmtMatch = matchStmt( in TEST_F() 150 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F() 163 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr() 171 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure() 340 auto StmtMatch = matchStmt( in TEST_F() 363 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F() 374 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() 384 matchStmt(Snippet, declRefExpr(hasType(qualType().bind("type")))); in TEST_F() [all …]
|
D | SourceCodeBuildersTest.cpp | 52 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function 71 auto StmtMatch = matchStmt(Snippet, expr().bind("expr")); in testPredicate() 81 auto StmtMatch = matchStmt( in testPredicateOnArg() 132 auto StmtMatch = matchStmt(Snippet, expr().bind("expr")); in testBuilder()
|