Skip to content

Commit ff65a58

Browse files
committed
[llvm] Add missing header guards in LogicCombine.h and LogicalExpr.h
These files were added in 97dcbea but it looks like they are missing header guards. This breaks module builds.
1 parent 7ecd2a2 commit ff65a58

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

llvm/include/llvm/Analysis/LogicCombine.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#ifndef LLVM_ANALYSIS_LOGICCOMBINE_H
10+
#define LLVM_ANALYSIS_LOGICCOMBINE_H
11+
912
#include "LogicalExpr.h"
1013
#include "llvm/ADT/DenseMap.h"
1114
#include "llvm/ADT/SetVector.h"
@@ -66,3 +69,5 @@ inline raw_ostream &operator<<(raw_ostream &OS, const LogicalOpNode &I) {
6669
}
6770

6871
} // namespace llvm
72+
73+
#endif // LLVM_ANALYSIS_LOGICCOMBINE_H

llvm/include/llvm/Analysis/LogicalExpr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
/// c
4545
//===----------------------------------------------------------------------===//
4646

47+
#ifndef LLVM_ANALYSIS_LOGICALEXPR_H
48+
#define LLVM_ANALYSIS_LOGICALEXPR_H
49+
4750
#include "llvm/ADT/DenseSet.h"
4851

4952
namespace llvm {
@@ -138,3 +141,5 @@ inline LogicalExpr operator~(const LogicalExpr &a) {
138141
}
139142

140143
} // namespace llvm
144+
145+
#endif // LLVM_ANALYSIS_LOGICALEXPR_H

0 commit comments

Comments
 (0)