Lines Matching refs:JSONCompilationDatabase
1 //===- JSONCompilationDatabase.cpp ----------------------------------------===//
9 // This file contains the implementation of the JSONCompilationDatabase.
13 #include "clang/Tooling/JSONCompilationDatabase.h"
166 auto Base = JSONCompilationDatabase::loadFromFile(
192 std::unique_ptr<JSONCompilationDatabase>
193 JSONCompilationDatabase::loadFromFile(StringRef FilePath,
205 std::unique_ptr<JSONCompilationDatabase> Database(
206 new JSONCompilationDatabase(std::move(*DatabaseBuffer), Syntax));
212 std::unique_ptr<JSONCompilationDatabase>
213 JSONCompilationDatabase::loadFromBuffer(StringRef DatabaseString,
218 std::unique_ptr<JSONCompilationDatabase> Database(
219 new JSONCompilationDatabase(std::move(DatabaseBuffer), Syntax));
226 JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const {
244 JSONCompilationDatabase::getAllFiles() const {
252 JSONCompilationDatabase::getAllCompileCommands() const {
312 void JSONCompilationDatabase::getCommands(
328 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) {