Home
last modified time | relevance | path

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

/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)
58 cdb = CompilationDatabase.fromDirectory(kInputsDir)
69 cdb = CompilationDatabase.fromDirectory(kInputsDir)
87 cdb = CompilationDatabase.fromDirectory(kInputsDir)
95 cdb = CompilationDatabase.fromDirectory(kInputsDir)
[all …]
/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;
129 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in CommonOptionsParser()
131 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in CommonOptionsParser()
DCMakeLists.txt8 CompilationDatabase.cpp
DAndroid.mk18 CompilationDatabase.cpp \
DRefactoring.cpp29 const CompilationDatabase &Compilations, ArrayRef<std::string> SourcePaths, in RefactoringTool()
DJSONCompilationDatabase.cpp121 std::unique_ptr<CompilationDatabase>
125 std::unique_ptr<CompilationDatabase> Database( in loadFromDirectory()
DTooling.cpp308 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool()
/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;
DRefactoring.h40 RefactoringTool(const CompilationDatabase &Compilations,
DTooling.h289 ClangTool(const CompilationDatabase &Compilations,
331 const CompilationDatabase &Compilations;
DJSONCompilationDatabase.h58 class JSONCompilationDatabase : public CompilationDatabase {
/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/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
DHowToSetupToolingForLLVM.rst65 $ clang-check tools/clang/lib/Tooling/CompilationDatabase.cpp
/external/google-benchmark/
D.ycm_extra_conf.py35 database = ycm_core.CompilationDatabase( compilation_database_folder )
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp51 std::unique_ptr<CompilationDatabase> Database( in getAllFiles()
62 std::unique_ptr<CompilationDatabase> Database( in getAllCompileCommands()
145 std::unique_ptr<CompilationDatabase> Database( in findCompileArgsInJsonDatabase()
/external/clang/bindings/python/clang/
Dcindex.py2743 class CompilationDatabase(ClangObject): class
2759 return CompilationDatabase(res)
2854 CompilationDatabase.from_result),
/external/llvm/
DCMakeLists.txt89 # Generate a CompilationDatabase (compile_commands.json file) for our build,