Searched refs:CompilationDatabase (Results 1 - 14 of 14) sorted by relevance

/external/clang/include/clang/Tooling/
H A DCommonOptionsParser.h19 // It creates a CompilationDatabase and reads common command-line options.
30 #include "clang/Tooling/CompilationDatabase.h"
70 CompilationDatabase &getCompilations() {
82 OwningPtr<CompilationDatabase> Compilations;
H A DCompilationDatabase.h1 //===--- CompilationDatabase.h - --------------------------------*- C++ -*-===//
16 // the project. This information is provided via the CompilationDatabase
19 // To create a CompilationDatabase from a build directory one can call
20 // CompilationDatabase::loadFromDirectory(), which deduces the correct
23 // See the concrete subclasses of CompilationDatabase for currently supported
61 class CompilationDatabase { class in namespace:clang::tooling
63 virtual ~CompilationDatabase();
77 static CompilationDatabase *loadFromDirectory(StringRef BuildDirectory,
84 static CompilationDatabase *autoDetectFromSource(StringRef SourceFile,
91 static CompilationDatabase *autoDetectFromDirector
[all...]
H A DJSONCompilationDatabase.h19 #include "clang/Tooling/CompilationDatabase.h"
50 class JSONCompilationDatabase : public CompilationDatabase {
H A DRefactoring.h166 RefactoringTool(const CompilationDatabase &Compilations,
H A DTooling.h13 // A ClangTool is initialized with a CompilationDatabase and a set of files
38 #include "clang/Tooling/CompilationDatabase.h"
184 /// \param Compilations The CompilationDatabase which contains the compile
188 ClangTool(const CompilationDatabase &Compilations,
/external/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py1 from clang.cindex import CompilationDatabase namespace
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)
48 cdb = CompilationDatabase.fromDirectory(kInputsDir)
66 cdb = CompilationDatabase.fromDirectory(kInputsDir)
74 cdb = CompilationDatabase.fromDirectory(kInputsDir)
82 cdb = CompilationDatabase
[all...]
/external/clang/lib/Tooling/
H A DCompilationDatabase.cpp1 //===--- CompilationDatabase.cpp - ----------------------------------------===//
10 // This file contains implementations of the CompilationDatabase base class
15 #include "clang/Tooling/CompilationDatabase.h"
26 CompilationDatabase::~CompilationDatabase() {}
28 CompilationDatabase *
29 CompilationDatabase::loadFromDirectory(StringRef BuildDirectory,
38 if (CompilationDatabase *DB =
48 static CompilationDatabase *
56 if (CompilationDatabase *D
[all...]
H A DCommonOptionsParser.cpp19 // It creates a CompilationDatabase and reads common command-line options.
71 Compilations.reset(CompilationDatabase::autoDetectFromDirectory(
74 Compilations.reset(CompilationDatabase::autoDetectFromSource(
H A DJSONCompilationDatabase.cpp15 #include "clang/Tooling/CompilationDatabase.h"
121 virtual CompilationDatabase *loadFromDirectory(
125 OwningPtr<CompilationDatabase> Database(
H A DRefactoring.cpp182 RefactoringTool::RefactoringTool(const CompilationDatabase &Compilations,
H A DTooling.cpp23 #include "clang/Tooling/CompilationDatabase.h"
239 ClangTool::ClangTool(const CompilationDatabase &Compilations,
/external/clang/tools/libclang/
H A DCXCompilationDatabase.cpp3 #include "clang/Tooling/CompilationDatabase.h"
18 CompilationDatabase *db = CompilationDatabase::loadFromDirectory(BuildDir,
35 delete static_cast<CompilationDatabase *>(CDb);
51 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) {
63 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) {
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp45 OwningPtr<CompilationDatabase> Database(
56 OwningPtr<CompilationDatabase> Database(
118 OwningPtr<CompilationDatabase> Database(
/external/clang/bindings/python/clang/
H A Dcindex.py2400 """Represents an error that occurred when working with a CompilationDatabase
2417 raise Exception("Encountered undefined CompilationDatabase error "
2475 class CompilationDatabase(ClangObject): class in inherits:ClangObject
2477 The CompilationDatabase is a wrapper class around
2478 clang::tooling::CompilationDatabase
2490 "CompilationDatabase loading failed")
2491 return CompilationDatabase(res)
2495 """Builds a CompilationDatabase from the database found in buildDir"""
2502 "CompilationDatabase loading failed")
2577 CompilationDatabase
[all...]

Completed in 344 milliseconds