Home
last modified time | relevance | path

Searched refs:CompilationDatabase (Results 1 – 18 of 18) 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;
127 CompilationDatabase::autoDetectFromDirectory(BuildPath, ErrorMessage); in CommonOptionsParser()
129 Compilations = CompilationDatabase::autoDetectFromSource(SourcePaths[0], in CommonOptionsParser()
DCMakeLists.txt8 CompilationDatabase.cpp
DRefactoring.cpp28 RefactoringTool::RefactoringTool(const CompilationDatabase &Compilations, in RefactoringTool()
DAndroid.mk18 CompilationDatabase.cpp \
DJSONCompilationDatabase.cpp121 std::unique_ptr<CompilationDatabase>
125 std::unique_ptr<CompilationDatabase> Database( in loadFromDirectory()
DTooling.cpp278 ClangTool::ClangTool(const CompilationDatabase &Compilations, in ClangTool()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h71 class CompilationDatabase {
73 virtual ~CompilationDatabase();
87 static std::unique_ptr<CompilationDatabase>
94 static std::unique_ptr<CompilationDatabase>
101 static std::unique_ptr<CompilationDatabase>
145 virtual std::unique_ptr<CompilationDatabase>
152 class FixedCompilationDatabase : public CompilationDatabase {
DCommonOptionsParser.h78 CompilationDatabase &getCompilations() { in getCompilations()
90 std::unique_ptr<CompilationDatabase> Compilations;
DRefactoring.h40 RefactoringTool(const CompilationDatabase &Compilations,
DTooling.h258 ClangTool(const CompilationDatabase &Compilations,
298 const CompilationDatabase &Compilations;
DJSONCompilationDatabase.h50 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/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp45 std::unique_ptr<CompilationDatabase> Database( in getAllFiles()
56 std::unique_ptr<CompilationDatabase> Database( in getAllCompileCommands()
118 std::unique_ptr<CompilationDatabase> Database( in findCompileArgsInJsonDatabase()
/external/clang/bindings/python/clang/
Dcindex.py2712 class CompilationDatabase(ClangObject): class
2728 return CompilationDatabase(res)
2823 CompilationDatabase.from_result),