Home
last modified time | relevance | path

Searched refs:JSONCompilationDatabase (Results 1 – 15 of 15) 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/llvm-project/clang/lib/Tooling/
DJSONCompilationDatabase.cpp169 auto Base = JSONCompilationDatabase::loadFromFile( in loadFromDirectory()
195 std::unique_ptr<JSONCompilationDatabase>
196 JSONCompilationDatabase::loadFromFile(StringRef FilePath, in loadFromFile()
208 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromFile()
209 new JSONCompilationDatabase(std::move(*DatabaseBuffer), Syntax)); in loadFromFile()
215 std::unique_ptr<JSONCompilationDatabase>
216 JSONCompilationDatabase::loadFromBuffer(StringRef DatabaseString, in loadFromBuffer()
221 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromBuffer()
222 new JSONCompilationDatabase(std::move(DatabaseBuffer), Syntax)); in loadFromBuffer()
229 JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands()
[all …]
DCMakeLists.txt26 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/llvm-project/clang/include/clang/Tooling/
DJSONCompilationDatabase.h61 class JSONCompilationDatabase : public CompilationDatabase {
67 static std::unique_ptr<JSONCompilationDatabase>
74 static std::unique_ptr<JSONCompilationDatabase>
97 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/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp30 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage, in expectFailure()
35 TEST(JSONCompilationDatabase, ErrsOnInvalidFormat) { in TEST() argument
59 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage, in getAllFiles()
72 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage, in getAllCompileCommands()
81 TEST(JSONCompilationDatabase, GetAllFiles) { in TEST() argument
109 TEST(JSONCompilationDatabase, GetAllCompileCommands) { in TEST() argument
178 JSONCompilationDatabase::loadFromBuffer(JSONDatabase, ErrorMessage, in findCompileArgsInJsonDatabase()
191 TEST(JSONCompilationDatabase, ArgumentsPreferredOverCommand) { in TEST() argument
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/
DBUILD.gn27 "JSONCompilationDatabase.cpp",
/external/clang/docs/
Dindex.rst58 JSONCompilationDatabase
/external/llvm-project/clang/docs/
Dindex.rst68 JSONCompilationDatabase
/external/llvm-project/clang/tools/clang-scan-deps/
DClangScanDeps.cpp400 std::unique_ptr<tooling::JSONCompilationDatabase> Compilations = in main()
401 tooling::JSONCompilationDatabase::loadFromFile( in main()
/external/clang/tools/scan-build-py/
DREADME.md118 [1]: http://clang.llvm.org/docs/JSONCompilationDatabase.html
/external/llvm-project/clang/tools/scan-build-py/
DREADME.md144 [1]: http://clang.llvm.org/docs/JSONCompilationDatabase.html
/external/llvm-project/clang/docs/analyzer/user-docs/
DCrossTranslationUnit.rst28 This tool uses a :doc:`compilation database <../../JSONCompilationDatabase>` to
218 :doc:`compilation database <../../JSONCompilationDatabase>` to determine the compilation flags used.