Home
last modified time | relevance | path

Searched refs:ClangTool (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/clang/lib/Tooling/
DTooling.cpp402 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool() function in ClangTool
421 ClangTool::~ClangTool() = default;
423 void ClangTool::mapVirtualFile(StringRef FilePath, StringRef Content) { in mapVirtualFile()
427 void ClangTool::appendArgumentsAdjuster(ArgumentsAdjuster Adjuster) { in appendArgumentsAdjuster()
431 void ClangTool::clearArgumentsAdjusters() { in clearArgumentsAdjusters()
447 int ClangTool::run(ToolAction *Action) { in run()
595 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs()
600 void ClangTool::setRestoreWorkingDir(bool RestoreCWD) { in setRestoreWorkingDir()
604 void ClangTool::setPrintErrorMessage(bool PrintErrorMessage) { in setPrintErrorMessage()
DRefactoring.cpp30 : ClangTool(Compilations, SourcePaths, std::move(PCHContainerOps)) {} in RefactoringTool()
DAllTUsExecution.cpp128 ClangTool Tool(Compilations, {Path}, in execute()
/external/llvm-project/clang/unittests/Tooling/
DToolingTest.cpp247 ClangTool Tool(Compilations, Sources); in TEST()
398 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
430 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
459 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
496 ClangTool Tool(Compilations, std::vector<std::string>(1, "a.cpp"), in TEST()
507 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
539 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
572 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
605 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
712 ClangTool Tool(Compilations, Sources); in TEST()
[all …]
DDependencyScannerTest.cpp98 ClangTool Tool(CDB, {"test.cpp"}, std::make_shared<PCHContainerOperations>(), in TEST()
153 ClangTool Tool(CDB, {"test.cpp", "test2.cpp"}, in TEST()
190 ClangTool Tool(CDB, {"test.cpp", "test.cpp"}, in TEST()
/external/clang/lib/Tooling/
DTooling.cpp316 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool() function in clang::tooling::ClangTool
330 ClangTool::~ClangTool() {} in ~ClangTool()
332 void ClangTool::mapVirtualFile(StringRef FilePath, StringRef Content) { in mapVirtualFile()
336 void ClangTool::appendArgumentsAdjuster(ArgumentsAdjuster Adjuster) { in appendArgumentsAdjuster()
344 void ClangTool::clearArgumentsAdjusters() { in clearArgumentsAdjusters()
360 int ClangTool::run(ToolAction *Action) { in run()
487 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs()
DRefactoring.cpp32 : ClangTool(Compilations, SourcePaths, PCHContainerOps) {} in RefactoringTool()
/external/clang/unittests/Tooling/
DToolingTest.cpp226 ClangTool Tool(Compilations, Sources); in TEST()
337 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
453 ClangTool Tool(Compilations, Sources); in TEST()
474 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
486 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
/external/clang/include/clang/Tooling/
DTooling.h284 class ClangTool {
294 ClangTool(const CompilationDatabase &Compilations,
299 ~ClangTool();
DRefactoring.h37 class RefactoringTool : public ClangTool {
/external/llvm-project/clang/include/clang/Tooling/
DTooling.h294 class ClangTool {
308 ClangTool(const CompilationDatabase &Compilations,
316 ~ClangTool();
DRefactoring.h37 class RefactoringTool : public ClangTool {
DStandaloneExecution.h89 ClangTool Tool;
/external/clang/docs/
DLibTooling.rst80 Creating and running a ClangTool
83 Once we have a ``CompilationDatabase``, we can create a ``ClangTool`` and run
96 ClangTool Tool(OptionsParser.getCompilations(), Sources);
98 // The ClangTool needs a new FrontendAction for each translation unit we run
137 ClangTool Tool(OptionsParser.getCompilations(),
DLibASTMatchersTutorial.rst87 Step 1: Create a ClangTool
91 simplest productive ClangTool in existence: a syntax checker. While this
153 ClangTool Tool(OptionsParser.getCompilations(),
264 from a ``ClangTool``. More code!
294 ClangTool Tool(OptionsParser.getCompilations(),
/external/llvm-project/clang/docs/
DLibTooling.rst80 Creating and running a ClangTool
83 Once we have a ``CompilationDatabase``, we can create a ``ClangTool`` and run
96 ClangTool Tool(OptionsParser.getCompilations(), Sources);
98 // The ClangTool needs a new FrontendAction for each translation unit we run
137 ClangTool Tool(OptionsParser.getCompilations(),
DLibASTMatchersTutorial.rst78 Step 1: Create a ClangTool
82 simplest productive ClangTool in existence: a syntax checker. While this
145 ClangTool Tool(OptionsParser.getCompilations(),
256 from a ``ClangTool``. More code!
286 ClangTool Tool(OptionsParser.getCompilations(),
/external/llvm-project/clang/tools/clang-extdef-mapping/
DClangExtDefMapGen.cpp125 ClangTool Tool(OptionsParser.getCompilations(), in main()
/external/llvm-project/clang-tools-extra/pp-trace/
DPPTrace.cpp151 clang::tooling::ClangTool Tool(OptionsParser->getCompilations(), in main()
/external/llvm-project/clang-tools-extra/clang-query/tool/
DClangQuery.cpp110 ClangTool Tool(OptionsParser->getCompilations(), in main()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/
DFindAllSymbolsMain.cpp132 ClangTool Tool(OptionsParser.getCompilations(), in main()
/external/llvm-project/clang/tools/clang-check/
DClangCheck.cpp164 ClangTool Tool(OptionsParser.getCompilations(), in main()
/external/clang/tools/clang-check/
DClangCheck.cpp162 ClangTool Tool(OptionsParser.getCompilations(), in main()
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningWorker.cpp191 tooling::ClangTool Tool(CDB, Input, PCHContainerOps, RealFS, Files); in computeDependencies()
/external/llvm-project/clang/tools/clang-diff/
DClangDiff.cpp106 ClangTool Tool(Compilations ? *Compilations : *CommonCompilations, Files); in getAST()

12