/external/llvm-project/clang/unittests/StaticAnalyzer/ |
D | CallDescriptionTest.cpp | 102 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 109 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 116 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 123 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 140 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 148 EXPECT_TRUE(tooling::runToolOnCode( in TEST()
|
D | ParamRegionTest.cpp | 82 tooling::runToolOnCode(std::make_unique<ParamRegionTestAction>(), in TEST() 110 tooling::runToolOnCode(std::make_unique<ParamRegionTestAction>(), in TEST()
|
D | StoreTest.cpp | 105 EXPECT_TRUE(tooling::runToolOnCode( in TEST() 148 EXPECT_TRUE(tooling::runToolOnCode( in TEST()
|
D | SymbolReaperTest.cpp | 65 tooling::runToolOnCode(std::make_unique<SuperRegionLivenessAction>(), in TEST()
|
D | CheckerRegistration.h | 82 return tooling::runToolOnCode(std::make_unique<TestAction<Fns...>>(OS), Code, in runCheckerOnCode()
|
/external/llvm-project/clang/unittests/Index/ |
D | IndexTests.cpp | 158 tooling::runToolOnCode(std::make_unique<IndexAction>(Index), in TEST() 168 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 173 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 183 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 188 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 205 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 226 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 242 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 250 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() 270 tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code); in TEST() [all …]
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 64 TEST(runToolOnCode, FindsNoTopLevelDeclOnEmptyCode) { in TEST() argument 67 runToolOnCode(new TestAction(llvm::make_unique<FindTopLevelDeclConsumer>( in TEST() 104 TEST(runToolOnCode, FindsClassDecl) { in TEST() argument 107 runToolOnCode(new TestAction(llvm::make_unique<FindClassDeclXConsumer>( in TEST() 114 runToolOnCode(new TestAction(llvm::make_unique<FindClassDeclXConsumer>( in TEST() 257 TEST(runToolOnCode, TestSkipFunctionBody) { in TEST() argument 261 EXPECT_TRUE(runToolOnCode(new SkipBodyAction, in TEST() 263 EXPECT_FALSE(runToolOnCode(new SkipBodyAction, in TEST() 296 EXPECT_TRUE(runToolOnCode( in TEST() 299 EXPECT_TRUE(runToolOnCode( in TEST() [all …]
|
D | RefactoringCallbacksTest.cpp | 30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
|
D | RefactoringTest.cpp | 322 return runToolOnCode(new TestAction(this), Code); in runOver()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 66 TEST(runToolOnCode, FindsNoTopLevelDeclOnEmptyCode) { in TEST() argument 68 EXPECT_TRUE(runToolOnCode( in TEST() 115 TEST(runToolOnCode, FindsClassDecl) { in TEST() argument 117 EXPECT_TRUE(runToolOnCode( in TEST() 124 EXPECT_TRUE(runToolOnCode( in TEST() 278 TEST(runToolOnCode, TestSkipFunctionBody) { in TEST() argument 282 EXPECT_TRUE(runToolOnCode(std::make_unique<SkipBodyAction>(), in TEST() 284 EXPECT_FALSE(runToolOnCode(std::make_unique<SkipBodyAction>(), in TEST() 317 EXPECT_TRUE(runToolOnCode( in TEST() 320 EXPECT_TRUE(runToolOnCode( in TEST() [all …]
|
D | RefactoringCallbacksTest.cpp | 28 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
|
D | RefactoringTest.cpp | 654 return runToolOnCode(std::make_unique<TestAction>(this), Code); in runOver()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 116 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST() 138 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST() 164 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 108 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST() 130 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST() 156 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;")); in TEST()
|
/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 | 199 clang::tooling::runToolOnCode(new FindNamedClassAction, argv[1]);
|
/external/llvm-project/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(std::make_unique<clang::SyntaxOnlyAction>(), "class X {};"));
|
D | RAVFrontendAction.rst | 199 clang::tooling::runToolOnCode(std::make_unique<FindNamedClassAction>(), argv[1]);
|
/external/llvm-project/clang/unittests/AST/ |
D | RecursiveASTVisitorTest.cpp | 86 clang::tooling::runToolOnCode( in collectEvents()
|
D | DataCollectionTest.cpp | 80 if (!runToolOnCode(Factory->create(), Code)) in hashStmt()
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 163 EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<CTUAction>(&Success, 1u), in TEST() 170 EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<CTUAction>(&Success, 0u), in TEST()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 150 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code,
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | Tooling.h | 157 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 104 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCode() function
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 156 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, in runToolOnCode() function
|