[llvm] r317267 - Add missing header guards.
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 13:58:58 PDT 2017
Author: adrian
Date: Thu Nov 2 13:58:58 2017
New Revision: 317267
URL: http://llvm.org/viewvc/llvm-project?rev=317267&view=rev
Log:
Add missing header guards.
Modified:
llvm/trunk/include/llvm-c/DebugInfo.h
Modified: llvm/trunk/include/llvm-c/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/DebugInfo.h?rev=317267&r1=317266&r2=317267&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/DebugInfo.h (original)
+++ llvm/trunk/include/llvm-c/DebugInfo.h Thu Nov 2 13:58:58 2017
@@ -14,6 +14,9 @@
///
//===----------------------------------------------------------------------===//
+#ifndef LLVM_C_DEBUGINFO_H
+#define LLVM_C_DEBUGINFO_H
+
#include "llvm-c/Core.h"
#ifdef __cplusplus
@@ -200,3 +203,5 @@ LLVMDIBuilderCreateDebugLocation(LLVMCon
#ifdef __cplusplus
} // end extern "C"
#endif
+
+#endif
More information about the llvm-commits
mailing list