Add include guards to Support/Regex.h.
authorMikhail Glushenkov <foldr@codedgers.com>
Fri, 20 Aug 2010 17:38:44 +0000 (17:38 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Fri, 20 Aug 2010 17:38:44 +0000 (17:38 +0000)
If the omission was intentional, please add a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111657 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Regex.h

index 91698659b7a9bf925548d2590ed0f6fd40db62c2..b46a66889e968774484dc93d681d5354a443f4f6 100644 (file)
@@ -11,6 +11,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_SUPPORT_REGEX_H
+#define LLVM_SUPPORT_REGEX_H
+
 #include <string>
 
 struct llvm_regex;
@@ -74,3 +77,5 @@ namespace llvm {
     int error;
   };
 }
+
+#endif // LLVM_SUPPORT_REGEX_H