Home | History | Annotate | Download | only in Tooling

Lines Matching refs:JSONCompilationDatabase

1 //===--- JSONCompilationDatabase.cpp - ------------------------------------===//
10 // This file contains the implementation of the JSONCompilationDatabase.
14 #include "clang/Tooling/JSONCompilationDatabase.h"
126 JSONCompilationDatabase::loadFromFile(JSONDatabasePath, ErrorMessage));
144 JSONCompilationDatabase *
145 JSONCompilationDatabase::loadFromFile(StringRef FilePath,
154 OwningPtr<JSONCompilationDatabase> Database(
155 new JSONCompilationDatabase(DatabaseBuffer.take()));
161 JSONCompilationDatabase *
162 JSONCompilationDatabase::loadFromBuffer(StringRef DatabaseString,
166 OwningPtr<JSONCompilationDatabase> Database(
167 new JSONCompilationDatabase(DatabaseBuffer.take()));
174 JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const {
193 JSONCompilationDatabase::getAllFiles() const {
208 JSONCompilationDatabase::getAllCompileCommands() const {
218 void JSONCompilationDatabase::getCommands(
231 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) {