OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JSONCompilationDatabase
(Results
1 - 3
of
3
) sorted by null
/external/clang/include/clang/Tooling/
JSONCompilationDatabase.h
1
//===---
JSONCompilationDatabase
.h - ----------------------------*- C++ -*-===//
10
// The
JSONCompilationDatabase
finds compilation databases supplied as a file
50
class
JSONCompilationDatabase
: public CompilationDatabase {
56
static
JSONCompilationDatabase
*loadFromFile(StringRef FilePath,
62
static
JSONCompilationDatabase
*loadFromBuffer(StringRef DatabaseString,
84
JSONCompilationDatabase
(llvm::MemoryBuffer *Database)
/external/clang/lib/Tooling/
JSONCompilationDatabase.cpp
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
[
all
...]
/external/clang/unittests/Tooling/
CompilationDatabaseTest.cpp
15
#include "clang/Tooling/
JSONCompilationDatabase
.h"
25
EXPECT_EQ(NULL,
JSONCompilationDatabase
::loadFromBuffer(JSONDatabase,
30
TEST(
JSONCompilationDatabase
, ErrsOnInvalidFormat) {
46
JSONCompilationDatabase
::loadFromBuffer(JSONDatabase, ErrorMessage));
57
JSONCompilationDatabase
::loadFromBuffer(JSONDatabase, ErrorMessage));
65
TEST(
JSONCompilationDatabase
, GetAllFiles) {
86
TEST(
JSONCompilationDatabase
, GetAllCompileCommands) {
119
JSONCompilationDatabase
::loadFromBuffer(JSONDatabase, ErrorMessage));
Completed in 137 milliseconds