Add header guards to some headers that are missing them
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Sep 2018 16:26:36 +0000 (16:26 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Sep 2018 16:26:36 +0000 (16:26 +0000)
llvm-svn: 341324

clang/include/clang/AST/ODRHash.h
clang/lib/CodeGen/MacroPPCallbacks.h
clang/unittests/Rename/ClangRenameTest.h

index 75b3617..0e52d3d 100644 (file)
@@ -13,6 +13,9 @@
 ///
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_CLANG_AST_ODRHASH_H
+#define LLVM_CLANG_AST_ODRHASH_H
+
 #include "clang/AST/DeclarationName.h"
 #include "clang/AST/Type.h"
 #include "clang/AST/TemplateBase.h"
@@ -91,3 +94,5 @@ public:
 };
 
 }  // end namespace clang
+
+#endif
index 48c67e2..b87a400 100644 (file)
@@ -11,6 +11,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_CLANG_LIB_CODEGEN_MACROPPCALLBACKS_H
+#define LLVM_CLANG_LIB_CODEGEN_MACROPPCALLBACKS_H
+
 #include "clang/Lex/PPCallbacks.h"
 
 namespace llvm {
@@ -116,3 +119,5 @@ public:
 };
 
 } // end namespace clang
+
+#endif
index 0933dd5..e0f3367 100644 (file)
@@ -7,6 +7,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_CLANG_UNITTESTS_RENAME_CLANGRENAMETEST_H
+#define LLVM_CLANG_UNITTESTS_RENAME_CLANGRENAMETEST_H
+
 #include "unittests/Tooling/RewriterTestContext.h"
 #include "clang/ASTMatchers/ASTMatchFinder.h"
 #include "clang/Basic/FileManager.h"
@@ -110,3 +113,5 @@ protected:
 } // namespace test
 } // namespace clang_rename
 } // namesdpace clang
+
+#endif