Home
last modified time | relevance | path

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

12

/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/lang/clang-mesa/clang-13.0.1.src/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
438 auto StmtMatch = matchStmt( in TEST_F()
544 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
558 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
570 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
184 auto StmtMatch = matchStmt( in TEST()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
407 auto StmtMatch = matchStmt( in TEST_F()
513 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
527 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
539 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
102 auto StmtMatch = matchStmt( in testError()
142 auto StmtMatch = matchStmt( in TEST_F()
174 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
182 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
294 auto StmtMatch = matchStmt(Snippet, expr().bind(Id), ExtraPreface); in TEST_F()
407 auto StmtMatch = matchStmt( in TEST_F()
513 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
527 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
539 auto StmtMatch = matchStmt( in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/unittests/Tooling/
H A DStencilTest.cpp56 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
89 auto StmtMatch = matchStmt( in testError()
129 auto StmtMatch = matchStmt( in TEST_F()
148 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
161 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
169 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
338 auto StmtMatch = matchStmt( in TEST_F()
384 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
398 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
410 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/unittests/Tooling/
H A DStencilTest.cpp56 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
89 auto StmtMatch = matchStmt( in testError()
129 auto StmtMatch = matchStmt( in TEST_F()
148 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
161 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
169 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
338 auto StmtMatch = matchStmt( in TEST_F()
384 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
398 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
410 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/unittests/Tooling/
H A DStencilTest.cpp56 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
89 auto StmtMatch = matchStmt( in testError()
129 auto StmtMatch = matchStmt( in TEST_F()
148 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
161 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
169 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
338 auto StmtMatch = matchStmt( in TEST_F()
384 matchStmt(Snippet, callExpr(callee(functionDecl(hasName("foo"))), in TEST_F()
398 matchStmt(Snippet, binaryOperator(hasRHS(expr().bind("rhs")))); in TEST_F()
410 auto StmtMatch = matchStmt( in TEST_F()
[all …]
H A DSourceCodeBuildersTest.cpp52 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()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/unittests/Tooling/
H A DStencilTest.cpp68 static llvm::Optional<TestMatch> matchStmt(llvm::Twine StatementCode, in matchStmt() function
100 auto StmtMatch = matchStmt( in testError()
139 auto StmtMatch = matchStmt( in TEST_F()
158 auto StmtMatch = matchStmt( in TEST_F()
176 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
189 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/unittests/Tooling/
H A DStencilTest.cpp55 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
87 auto StmtMatch = matchStmt( in testError()
126 auto StmtMatch = matchStmt( in TEST_F()
144 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
157 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
164 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
334 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
355 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
H A DSourceCodeBuildersTest.cpp52 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()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/unittests/Tooling/
H A DStencilTest.cpp55 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() function
87 auto StmtMatch = matchStmt( in testError()
126 auto StmtMatch = matchStmt( in TEST_F()
144 auto StmtMatch = matchStmt(Snippet, ifStmt(hasCondition(stmt().bind("a1")), in TEST_F()
157 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testExpr()
164 auto StmtMatch = matchStmt(Snippet, expr().bind(Id)); in testFailure()
334 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()
355 matchStmt(Snippet, returnStmt(hasReturnValue(ignoringImplicit(memberExpr( in TEST_F()

12