Searched refs:StatementCode (Results 1 – 2 of 2) sorted by relevance
26 static std::string wrapSnippet(StringRef StatementCode) { in wrapSnippet() argument30 StatementCode + "};") in wrapSnippet()52 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() argument54 auto AstUnit = buildASTFromCode(wrapSnippet(StatementCode)); in matchStmt()
32 static std::string wrapSnippet(StringRef StatementCode) { in wrapSnippet() argument36 StatementCode + "};") in wrapSnippet()58 static llvm::Optional<TestMatch> matchStmt(StringRef StatementCode, in matchStmt() argument60 auto AstUnit = tooling::buildASTFromCodeWithArgs(wrapSnippet(StatementCode), in matchStmt()