reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Tooling/Tooling.h
  157 bool runToolOnCode(std::unique_ptr<FrontendAction> ToolAction, const Twine &Code,

References

tools/clang/unittests/AST/DataCollectionTest.cpp
   80   if (!runToolOnCode(Factory->create(), Code))
tools/clang/unittests/AST/OMPStructuredBlockTest.cpp
   62   if (!runToolOnCode(Factory->create(), Code))
tools/clang/unittests/AST/RecursiveASTVisitorTest.cpp
   86   clang::tooling::runToolOnCode(
tools/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
  108   ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;"));
  130   ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;"));
  156   ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), "int x;"));
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
  137   EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<CTUAction>(&Success, 1u),
  144   EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<CTUAction>(&Success, 0u),
tools/clang/unittests/Index/IndexTests.cpp
  158   tooling::runToolOnCode(std::make_unique<IndexAction>(Index),
  168   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  173   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  183   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  188   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  205   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  226   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  242   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  250   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  265   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
  279   tooling::runToolOnCode(std::make_unique<IndexAction>(Index, Opts), Code);
tools/clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp
  102   EXPECT_TRUE(tooling::runToolOnCode(
  109   EXPECT_TRUE(tooling::runToolOnCode(
  116   EXPECT_TRUE(tooling::runToolOnCode(
  123   EXPECT_TRUE(tooling::runToolOnCode(
  140   EXPECT_TRUE(tooling::runToolOnCode(
  148   EXPECT_TRUE(tooling::runToolOnCode(
tools/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
   61   return tooling::runToolOnCode(std::make_unique<TestAction<CheckerT>>(OS),
tools/clang/unittests/StaticAnalyzer/StoreTest.cpp
   99   EXPECT_TRUE(tooling::runToolOnCode(std::make_unique<VariableBindAction>(),
tools/clang/unittests/StaticAnalyzer/SymbolReaperTest.cpp
   65       tooling::runToolOnCode(std::make_unique<SuperRegionLivenessAction>(),
tools/clang/unittests/Tooling/RefactoringCallbacksTest.cpp
   28   ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code))
tools/clang/unittests/Tooling/RefactoringTest.cpp
  653     return runToolOnCode(std::make_unique<TestAction>(this), Code);
tools/clang/unittests/Tooling/ToolingTest.cpp
   65   EXPECT_TRUE(runToolOnCode(
  105   EXPECT_TRUE(runToolOnCode(
  112   EXPECT_TRUE(runToolOnCode(
  260   EXPECT_TRUE(runToolOnCode(std::make_unique<SkipBodyAction>(),
  262   EXPECT_FALSE(runToolOnCode(std::make_unique<SkipBodyAction>(),
  295   EXPECT_TRUE(runToolOnCode(
  298   EXPECT_TRUE(runToolOnCode(
  302       runToolOnCode(std::make_unique<SkipBodyAction>(),
  305   EXPECT_FALSE(runToolOnCode(
  310   EXPECT_TRUE(runToolOnCode(
  662       runToolOnCode(std::make_unique<ResetDiagnosticAction>(),