Searched refs:runToolOnCode (Results 1 – 4 of 4) sorted by relevance
27 example to unit test parts of the Clang AST, ``runToolOnCode`` is what you34 TEST(runToolOnCode, CanSyntaxCheckCode) {35 // runToolOnCode returns whether the action was correctly run over the37 EXPECT_TRUE(runToolOnCode(std::make_unique<clang::SyntaxOnlyAction>(), "class X {};"));
196 clang::tooling::runToolOnCode(std::make_unique<FindNamedClassAction>(), argv[1]);
157 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
156 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, in runToolOnCode() function