Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp166 auto Base = JSONCompilationDatabase::loadFromFile( in loadFromDirectory()
192 std::unique_ptr<JSONCompilationDatabase>
193 JSONCompilationDatabase::loadFromFile(StringRef FilePath, in loadFromFile()
205 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromFile()
212 std::unique_ptr<JSONCompilationDatabase>
213 JSONCompilationDatabase::loadFromBuffer(StringRef DatabaseString, in loadFromBuffer()
218 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromBuffer()
244 JSONCompilationDatabase::getAllFiles() const { in getAllFiles()
252 JSONCompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
313 void JSONCompilationDatabase::getCommands( in getCommands()
[all …]
H A DCMakeLists.txt112 JSONCompilationDatabase.cpp
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A 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
/llvm-project-15.0.7/clang/unittests/Tooling/
H A 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
/llvm-project-15.0.7/clang/docs/
H A Dindex.rst75 JSONCompilationDatabase
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Tooling/
H A DBUILD.gn42 "JSONCompilationDatabase.cpp",
/llvm-project-15.0.7/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp458 std::unique_ptr<tooling::JSONCompilationDatabase> Compilations = in main()
459 tooling::JSONCompilationDatabase::loadFromFile( in main()
/llvm-project-15.0.7/clang/docs/analyzer/user-docs/
H A DCrossTranslationUnit.rst28 This tool uses a :doc:`compilation database <../../JSONCompilationDatabase>` to
218 :doc:`compilation database <../../JSONCompilationDatabase>` to determine the compilation flags used.
/llvm-project-15.0.7/clang/tools/scan-build-py/
H A DREADME.md144 [1]: http://clang.llvm.org/docs/JSONCompilationDatabase.html
/llvm-project-15.0.7/mlir/docs/Tools/
H A DMLIRLSP.md136 [`clangd`](https://clang.llvm.org/docs/JSONCompilationDatabase.html), and
261 [`clangd`](https://clang.llvm.org/docs/JSONCompilationDatabase.html), and
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.cpp246 if (auto CDB = tooling::JSONCompilationDatabase::loadFromBuffer( in parseJSON()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt255 clang/include/clang/Tooling/JSONCompilationDatabase.h