Home
last modified time | relevance | path

Searched refs:CompilationDatabase (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/clang/include/clang/Tooling/
DCompilationDatabase.h87 class CompilationDatabase {
89 virtual ~CompilationDatabase();
103 static std::unique_ptr<CompilationDatabase>
110 static std::unique_ptr<CompilationDatabase>
117 static std::unique_ptr<CompilationDatabase>
154 class FixedCompilationDatabase : public CompilationDatabase {
219 std::unique_ptr<CompilationDatabase>
220 inferMissingCompileCommands(std::unique_ptr<CompilationDatabase>);
225 std::unique_ptr<CompilationDatabase>
226 inferTargetAndDriverMode(std::unique_ptr<CompilationDatabase> Base);
[all …]
DCommonOptionsParser.h102 CompilationDatabase &getCompilations() { in getCompilations()
125 std::unique_ptr<CompilationDatabase> Compilations;
130 class ArgumentsAdjustingCompilations : public CompilationDatabase {
133 std::unique_ptr<CompilationDatabase> Compilations) in ArgumentsAdjustingCompilations()
146 std::unique_ptr<CompilationDatabase> Compilations;
DAllTUsExecution.h32 AllTUsToolExecutor(const CompilationDatabase &Compilations,
65 const CompilationDatabase &Compilations;
DTooling.h67 class CompilationDatabase; variable
308 ClangTool(const CompilationDatabase &Compilations,
367 const CompilationDatabase &Compilations;
DCompilationDatabasePluginRegistry.h35 virtual std::unique_ptr<CompilationDatabase>
/external/clang/bindings/python/tests/cindex/
Dtest_cdb.py1 from clang.cindex import CompilationDatabase
14 cdb = CompilationDatabase.fromDirectory(path)
22 cdb = CompilationDatabase.fromDirectory(kInputsDir)
26 cdb = CompilationDatabase.fromDirectory(kInputsDir)
31 cdb = CompilationDatabase.fromDirectory(kInputsDir)
37 cdb = CompilationDatabase.fromDirectory(kInputsDir)
63 cdb = CompilationDatabase.fromDirectory(kInputsDir)
76 cdb = CompilationDatabase.fromDirectory(kInputsDir)
94 cdb = CompilationDatabase.fromDirectory(kInputsDir)
102 cdb = CompilationDatabase.fromDirectory(kInputsDir)
[all …]
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_cdb.py6 from clang.cindex import CompilationDatabase
33 cdb = CompilationDatabase.fromDirectory(path)
43 cdb = CompilationDatabase.fromDirectory(kInputsDir)
47 cdb = CompilationDatabase.fromDirectory(kInputsDir)
54 cdb = CompilationDatabase.fromDirectory(str_to_path(kInputsDir))
60 cdb = CompilationDatabase.fromDirectory(kInputsDir)
87 cdb = CompilationDatabase.fromDirectory(kInputsDir)
100 cdb = CompilationDatabase.fromDirectory(kInputsDir)
119 cdb = CompilationDatabase.fromDirectory(kInputsDir)
127 cdb = CompilationDatabase.fromDirectory(kInputsDir)
[all …]
/external/llvm-project/clang/lib/Tooling/
DCompilationDatabase.cpp61 CompilationDatabase::~CompilationDatabase() = default;
63 std::unique_ptr<CompilationDatabase>
64 CompilationDatabase::loadFromDirectory(StringRef BuildDirectory, in loadFromDirectory()
71 if (std::unique_ptr<CompilationDatabase> DB = in loadFromDirectory()
79 static std::unique_ptr<CompilationDatabase>
87 if (std::unique_ptr<CompilationDatabase> DB = in findCompilationDatabaseFromDirectory()
88 CompilationDatabase::loadFromDirectory(Directory, LoadErrorMessage)) in findCompilationDatabaseFromDirectory()
103 std::unique_ptr<CompilationDatabase>
104 CompilationDatabase::autoDetectFromSource(StringRef SourceFile, in autoDetectFromSource()
109 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromSource()
[all …]
DGuessTargetAndModeCompilationDatabase.cpp17 class TargetAndModeAdderDatabase : public CompilationDatabase {
19 TargetAndModeAdderDatabase(std::unique_ptr<CompilationDatabase> Base) in TargetAndModeAdderDatabase()
47 std::unique_ptr<CompilationDatabase> Base;
51 std::unique_ptr<CompilationDatabase>
52 inferTargetAndDriverMode(std::unique_ptr<CompilationDatabase> Base) { in inferTargetAndDriverMode()
DExpandResponseFilesCompilationDatabase.cpp24 class ExpandResponseFilesDatabase : public CompilationDatabase {
27 std::unique_ptr<CompilationDatabase> Base, in ExpandResponseFilesDatabase()
73 std::unique_ptr<CompilationDatabase> Base;
80 std::unique_ptr<CompilationDatabase>
81 expandResponseFiles(std::unique_ptr<CompilationDatabase> Base, in expandResponseFiles()
DInterpolatingCompilationDatabase.cpp506 class InterpolatingCompilationDatabase : public CompilationDatabase {
508 InterpolatingCompilationDatabase(std::unique_ptr<CompilationDatabase> Inner) in InterpolatingCompilationDatabase()
536 std::unique_ptr<CompilationDatabase> Inner;
542 std::unique_ptr<CompilationDatabase>
543 inferMissingCompileCommands(std::unique_ptr<CompilationDatabase> Inner) { in inferMissingCompileCommands()
DCommonOptionsParser.cpp132 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in init()
134 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in init()
/external/clang/lib/Tooling/
DCompilationDatabase.cpp35 CompilationDatabase::~CompilationDatabase() {} in ~CompilationDatabase()
37 std::unique_ptr<CompilationDatabase>
38 CompilationDatabase::loadFromDirectory(StringRef BuildDirectory, in loadFromDirectory()
47 if (std::unique_ptr<CompilationDatabase> DB = in loadFromDirectory()
56 static std::unique_ptr<CompilationDatabase>
64 if (std::unique_ptr<CompilationDatabase> DB = in findCompilationDatabaseFromDirectory()
65 CompilationDatabase::loadFromDirectory(Directory, LoadErrorMessage)) in findCompilationDatabaseFromDirectory()
80 std::unique_ptr<CompilationDatabase>
81 CompilationDatabase::autoDetectFromSource(StringRef SourceFile, in autoDetectFromSource()
86 std::unique_ptr<CompilationDatabase> DB = in autoDetectFromSource()
[all …]
DCommonOptionsParser.cpp58 class ArgumentsAdjustingCompilations : public CompilationDatabase {
61 std::unique_ptr<CompilationDatabase> Compilations) in ArgumentsAdjustingCompilations()
82 std::unique_ptr<CompilationDatabase> Compilations;
131 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in CommonOptionsParser()
133 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in CommonOptionsParser()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h77 class CompilationDatabase {
79 virtual ~CompilationDatabase();
93 static std::unique_ptr<CompilationDatabase>
100 static std::unique_ptr<CompilationDatabase>
107 static std::unique_ptr<CompilationDatabase>
151 virtual std::unique_ptr<CompilationDatabase>
158 class FixedCompilationDatabase : public CompilationDatabase {
DCommonOptionsParser.h96 CompilationDatabase &getCompilations() { in getCompilations()
108 std::unique_ptr<CompilationDatabase> Compilations;
/external/llvm-project/clang/tools/libclang/
DCXCompilationDatabase.cpp17 std::unique_ptr<CompilationDatabase> db = in clang_CompilationDatabase_fromDirectory()
18 CompilationDatabase::loadFromDirectory(BuildDir, ErrorMsg); in clang_CompilationDatabase_fromDirectory()
34 delete static_cast<CompilationDatabase *>(CDb); in clang_CompilationDatabase_dispose()
49 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { in clang_CompilationDatabase_getCompileCommands()
60 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { in clang_CompilationDatabase_getAllCompileCommands()
/external/clang/tools/libclang/
DCXCompilationDatabase.cpp19 std::unique_ptr<CompilationDatabase> db = in clang_CompilationDatabase_fromDirectory()
20 CompilationDatabase::loadFromDirectory(BuildDir, ErrorMsg); in clang_CompilationDatabase_fromDirectory()
36 delete static_cast<CompilationDatabase *>(CDb); in clang_CompilationDatabase_dispose()
51 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { in clang_CompilationDatabase_getCompileCommands()
62 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { in clang_CompilationDatabase_getAllCompileCommands()
/external/llvm-project/clang/include/clang/Tooling/DependencyScanning/
DDependencyScanningTool.h91 getDependencyFile(const tooling::CompilationDatabase &Compilations,
107 getFullDependencies(const tooling::CompilationDatabase &Compilations,
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidy.h26 class CompilationDatabase; variable
79 const tooling::CompilationDatabase &Compilations,
/external/llvm-project/clang/tools/clang-diff/
DClangDiff.cpp73 static void addExtraArgs(std::unique_ptr<CompilationDatabase> &Compilations) { in addExtraArgs()
87 getAST(const std::unique_ptr<CompilationDatabase> &CommonCompilations, in getAST()
90 std::unique_ptr<CompilationDatabase> Compilations; in getAST()
92 Compilations = CompilationDatabase::autoDetectFromSource( in getAST()
/external/llvm-project/clang-tools-extra/clangd/
DGlobalCompilationDatabase.cpp94 std::shared_ptr<tooling::CompilationDatabase> CDB;
108 std::shared_ptr<const tooling::CompilationDatabase>
148 CDB = tooling::CompilationDatabase::loadFromDirectory(Path, Error); in load()
157 CDB = tooling::CompilationDatabase::loadFromDirectory(BuildDir, Error); in load()
244 std::shared_ptr<const tooling::CompilationDatabase> CDB = nullptr; in lookupCDB()
/external/clang/docs/
DLibTooling.rst46 for a specified file. To that end we create a ``CompilationDatabase``. There
55 ``CompilationDatabase`` can be read from a build directory or the command line.
73 // CompilationDatabase. In case of error it will terminate the program.
77 // to retrieve CompilationDatabase and the list of input file paths.
83 Once we have a ``CompilationDatabase``, we can create a ``ClangTool`` and run
94 // We hand the CompilationDatabase we created and the sources to run over into
/external/llvm-project/clang/docs/
DLibTooling.rst46 for a specified file. To that end we create a ``CompilationDatabase``. There
55 ``CompilationDatabase`` can be read from a build directory or the command line.
73 // CompilationDatabase. In case of error it will terminate the program.
77 // to retrieve CompilationDatabase and the list of input file paths.
83 Once we have a ``CompilationDatabase``, we can create a ``ClangTool`` and run
94 // We hand the CompilationDatabase we created and the sources to run over into
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningTool.cpp32 const tooling::CompilationDatabase &Compilations, StringRef CWD) { in getDependencyFile()
99 const tooling::CompilationDatabase &Compilations, StringRef CWD, in getFullDependencies()

123