[PATCH] D50042: Add include guard

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 01:28:18 PDT 2018


sgraenitz created this revision.
sgraenitz added a reviewer: erik.pilkington.

Add missing include guard LLVM_DEMANGLE_DEMANGLE_H in llvm/Demangle/Demangle.h


Repository:
  rL LLVM

https://reviews.llvm.org/D50042

Files:
  include/llvm/Demangle/Demangle.h


Index: include/llvm/Demangle/Demangle.h
===================================================================
--- include/llvm/Demangle/Demangle.h
+++ include/llvm/Demangle/Demangle.h
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_DEMANGLE_DEMANGLE_H
+#define LLVM_DEMANGLE_DEMANGLE_H
+
 #include <cstddef>
 
 namespace llvm {
@@ -86,3 +89,5 @@
   void *Context;
 };
 } // namespace llvm
+
+#endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50042.158186.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/f6c9dac2/attachment.bin>


More information about the llvm-commits mailing list