Searched refs:runToolOnCode (Results 1 – 8 of 8) sorted by relevance
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 60 TEST(runToolOnCode, FindsNoTopLevelDeclOnEmptyCode) { in TEST() argument 62 EXPECT_TRUE(runToolOnCode( in TEST() 98 TEST(runToolOnCode, FindsClassDecl) { in TEST() argument 100 EXPECT_TRUE(runToolOnCode(new TestAction( in TEST() 105 EXPECT_TRUE(runToolOnCode(new TestAction( in TEST() 235 TEST(runToolOnCode, TestSkipFunctionBody) { in TEST() argument 236 EXPECT_TRUE(runToolOnCode(new SkipBodyAction, in TEST() 238 EXPECT_FALSE(runToolOnCode(new SkipBodyAction, in TEST()
|
D | RefactoringCallbacksTest.cpp | 30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
|
D | RefactoringTest.cpp | 279 return runToolOnCode(new TestAction(this), Code); in runOver()
|
/external/clang/docs/ |
D | LibTooling.rst | 27 example to unit test parts of the Clang AST, ``runToolOnCode`` is what you 34 TEST(runToolOnCode, CanSyntaxCheckCode) { 35 // runToolOnCode returns whether the action was correctly run over the 37 EXPECT_TRUE(runToolOnCode(new clang::SyntaxOnlyAction, "class X {};"));
|
D | RAVFrontendAction.rst | 196 clang::tooling::runToolOnCode(new FindNamedClassAction, argv[1]);
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 142 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code,
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 107 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCode() function
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 4253 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST() 4281 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST()
|