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 __anon7306a6090111::ArgumentsAdjustingCompilations
119 Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, in CommonOptionsParser()
123 if (!Compilations) { in CommonOptionsParser()
126 Compilations = in CommonOptionsParser()
129 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in CommonOptionsParser()
[all …]
DRefactoring.cpp28 RefactoringTool::RefactoringTool(const CompilationDatabase &Compilations, in RefactoringTool() argument
30 : ClangTool(Compilations, SourcePaths) {} in RefactoringTool()
DTooling.cpp278 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool() argument
280 : Compilations(Compilations), SourcePaths(SourcePaths), in ClangTool()
331 Compilations.getCompileCommands(File); in run()
/external/clang/unittests/Tooling/
DToolingTest.cpp205 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
209 ClangTool Tool(Compilations, Sources); in TEST()
263 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
265 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
296 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
301 ClangTool Tool(Compilations, Sources); in TEST()
321 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
322 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
333 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() local
334 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST()
/external/clang/include/clang/Tooling/
DCommonOptionsParser.h79 return *Compilations; in getCompilations()
90 std::unique_ptr<CompilationDatabase> Compilations;
DRefactoring.h40 RefactoringTool(const CompilationDatabase &Compilations,
DTooling.h258 ClangTool(const CompilationDatabase &Compilations,
298 const CompilationDatabase &Compilations;