aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/IndexingContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libclang/IndexingContext.h')
-rw-r--r--tools/libclang/IndexingContext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libclang/IndexingContext.h b/tools/libclang/IndexingContext.h
index c3851cd7e95e..31fddfb09cd4 100644
--- a/tools/libclang/IndexingContext.h
+++ b/tools/libclang/IndexingContext.h
@@ -7,6 +7,9 @@
//
//===----------------------------------------------------------------------===//
+#ifndef LLVM_CLANG_TOOLS_LIBCLANG_INDEXINGCONTEXT_H
+#define LLVM_CLANG_TOOLS_LIBCLANG_INDEXINGCONTEXT_H
+
#include "CXCursor.h"
#include "Index_Internal.h"
#include "clang/AST/DeclGroup.h"
@@ -517,3 +520,5 @@ inline T *ScratchAlloc::allocate() {
}
}} // end clang::cxindex
+
+#endif