Home
last modified time | relevance | path

Searched refs:JSONCompilationDatabase (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp126 JSONCompilationDatabase::loadFromFile(JSONDatabasePath, ErrorMessage)); in loadFromDirectory()
144 std::unique_ptr<JSONCompilationDatabase>
145 JSONCompilationDatabase::loadFromFile(StringRef FilePath, in loadFromFile()
153 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromFile()
154 new JSONCompilationDatabase(std::move(*DatabaseBuffer))); in loadFromFile()
160 std::unique_ptr<JSONCompilationDatabase>
161 JSONCompilationDatabase::loadFromBuffer(StringRef DatabaseString, in loadFromBuffer()
165 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromBuffer()
166 new JSONCompilationDatabase(std::move(DatabaseBuffer))); in loadFromBuffer()
173 JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands()
[all …]
DCMakeLists.txt11 JSONCompilationDatabase.cpp
/external/clang/include/clang/Tooling/
DJSONCompilationDatabase.h58 class JSONCompilationDatabase : public CompilationDatabase {
64 static std::unique_ptr<JSONCompilationDatabase>
70 static std::unique_ptr<JSONCompilationDatabase>
92 JSONCompilationDatabase(std::unique_ptr<llvm::MemoryBuffer> Database) in JSONCompilationDatabase() function
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp25 EXPECT_EQ(nullptr, JSONCompilationDatabase::loadFromBuffer(JSONDatabase, in expectFailure()
30 TEST(JSONCompilationDatabase, ErrsOnInvalidFormat) { in TEST() argument
52 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllFiles()
63 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in getAllCompileCommands()
71 TEST(JSONCompilationDatabase, GetAllFiles) { in TEST() argument
92 TEST(JSONCompilationDatabase, GetAllCompileCommands) { in TEST() argument
146 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage)); in findCompileArgsInJsonDatabase()
156 TEST(JSONCompilationDatabase, ArgumentsPreferredOverCommand) { in TEST() argument
/external/clang/docs/
Dindex.rst58 JSONCompilationDatabase
/external/clang/tools/scan-build-py/
DREADME.md118 [1]: http://clang.llvm.org/docs/JSONCompilationDatabase.html