]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341324 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 75b36178921106f8e10236d6ca4cdb00b1c0b5fb..0e52d3d8543610f98372932e52636f7fb3e9b931 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 48c67e2d36ade8444afc05877f19df4957ab8536..b87a4005d4811a72b184c7802b0d05409fd7bf6f 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 0933dd5aaf4f230feb211186640ea17437bf60ee..e0f33674cfedf791bbb56e813955263a3fadc06c 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