Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/Tooling/
DSourceCodeBuildersTest.cpp26 static std::string wrapSnippet(StringRef StatementCode) { in wrapSnippet() argument
30 StatementCode + "};") in wrapSnippet()
52 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() argument
54 auto AstUnit = buildASTFromCode(wrapSnippet(StatementCode)); in matchStmt()
DStencilTest.cpp32 static std::string wrapSnippet(StringRef StatementCode) { in wrapSnippet() argument
36 StatementCode + "};") in wrapSnippet()
58 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() argument
60 auto AstUnit = tooling::buildASTFromCodeWithArgs(wrapSnippet(StatementCode), in matchStmt()