summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/CustomCompilationDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Tooling/CustomCompilationDatabase.h')
-rw-r--r--clang/lib/Tooling/CustomCompilationDatabase.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/clang/lib/Tooling/CustomCompilationDatabase.h b/clang/lib/Tooling/CustomCompilationDatabase.h
index a24915a08f7..b375f8d2563 100644
--- a/clang/lib/Tooling/CustomCompilationDatabase.h
+++ b/clang/lib/Tooling/CustomCompilationDatabase.h
@@ -19,14 +19,14 @@
// custom compilation databases and make enabling that a build option.
//
//===----------------------------------------------------------------------===//
+#ifndef LLVM_CLANG_TOOLING_CUSTOM_COMPILATION_DATABASE_H
+#define LLVM_CLANG_TOOLING_CUSTOM_COMPILATION_DATABASE_H
#include "llvm/ADT/StringRef.h"
namespace clang {
namespace tooling {
class CompilationDatabase;
-}
-}
/// \brief Returns a CompilationDatabase for the given \c Directory.
///
@@ -35,3 +35,8 @@ class CompilationDatabase;
/// parents. If a compilation database cannot be found or loaded, returns NULL.
clang::tooling::CompilationDatabase *findCompilationDatabaseForDirectory(
llvm::StringRef Directory);
+
+} // namespace tooling
+} // namespace clang
+
+#endif // LLVM_CLANG_TOOLING_CUSTOM_COMPILATION_DATABASE_H
OpenPOWER on IntegriCloud