Home
last modified time | relevance | path

Searched refs:Compilations (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Tooling/
DCommonOptionsParser.cpp61 std::unique_ptr<CompilationDatabase> Compilations) in ArgumentsAdjustingCompilations() argument
62 : Compilations(std::move(Compilations)) {} in ArgumentsAdjustingCompilations()
70 return adjustCommands(Compilations->getCompileCommands(FilePath)); in getCompileCommands()
74 return Compilations->getAllFiles(); in getAllFiles()
78 return adjustCommands(Compilations->getAllCompileCommands()); in getAllCompileCommands()
82 std::unique_ptr<CompilationDatabase> Compilations; member in __anon849a07f20111::ArgumentsAdjustingCompilations
119 Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, argv)); in CommonOptionsParser()
127 if (!Compilations) { in CommonOptionsParser()
130 Compilations = in CommonOptionsParser()
133 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in CommonOptionsParser()
[all …]
DRefactoring.cpp30 const CompilationDatabase &Compilations, ArrayRef<std::string> SourcePaths, in RefactoringTool() argument
32 : ClangTool(Compilations, SourcePaths, PCHContainerOps) {} in RefactoringTool()
DTooling.cpp316 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool() argument
319 : Compilations(Compilations), SourcePaths(SourcePaths), in ClangTool()
391 Compilations.getCompileCommands(File); in run()
/external/clang/unittests/Tooling/
DToolingTest.cpp222 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
226 ClangTool Tool(Compilations, Sources); in TEST()
335 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
337 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
448 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
453 ClangTool Tool(Compilations, Sources); in TEST()
473 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
474 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
485 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
486 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
/external/clang/include/clang/Tooling/
DCommonOptionsParser.h97 return *Compilations; in getCompilations()
108 std::unique_ptr<CompilationDatabase> Compilations;
DRefactoring.h40 RefactoringTool(const CompilationDatabase &Compilations,
DTooling.h294 ClangTool(const CompilationDatabase &Compilations,
336 const CompilationDatabase &Compilations;