Skip to content

Commit

Permalink
Add header guards to some headers that are missing them
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341324 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
akyrtzi committed Sep 3, 2018
1 parent 66c9a41 commit 00b0309
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/clang/AST/ODRHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -91,3 +94,5 @@ class ODRHash {
};

} // end namespace clang

#endif
5 changes: 5 additions & 0 deletions lib/CodeGen/MacroPPCallbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -116,3 +119,5 @@ class MacroPPCallbacks : public PPCallbacks {
};

} // end namespace clang

#endif
5 changes: 5 additions & 0 deletions unittests/Rename/ClangRenameTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -110,3 +113,5 @@ class ClangRenameTest : public testing::Test,
} // namespace test
} // namespace clang_rename
} // namesdpace clang

#endif

0 comments on commit 00b0309

Please sign in to comment.