Lines Matching defs:CompilationDatabase
1 //===--- CompilationDatabase.cpp - ----------------------------------------===//
10 // This file contains implementations of the CompilationDatabase base class
15 #include "clang/Tooling/CompilationDatabase.h"
36 CompilationDatabase::~CompilationDatabase() {}
38 CompilationDatabase *
39 CompilationDatabase::loadFromDirectory(StringRef BuildDirectory,
48 if (CompilationDatabase *DB =
58 static CompilationDatabase *
66 if (CompilationDatabase *DB =
67 CompilationDatabase::loadFromDirectory(Directory, LoadErrorMessage))
82 CompilationDatabase *
83 CompilationDatabase::autoDetectFromSource(StringRef SourceFile,
88 CompilationDatabase *DB = findCompilationDatabaseFromDirectory(Directory,
97 CompilationDatabase *
98 CompilationDatabase::autoDetectFromDirectory(StringRef SourceDir,
102 CompilationDatabase *DB = findCompilationDatabaseFromDirectory(AbsolutePath,