Skip to content

Commit 4985f25

Browse files
authored
[IR] Fix IWYU violation (#93918)
GEPNoWrapFlags.h calls `assert` creating a undeclared identifier error when running an Apple-stage2 build with LLVM_ENABLE_MODULES enabled. resolves: rdar://129031201
1 parent 71ccd0d commit 4985f25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/IR/GEPNoWrapFlags.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef LLVM_IR_GEPNOWRAPFLAGS_H
1414
#define LLVM_IR_GEPNOWRAPFLAGS_H
1515

16+
#include <assert.h>
17+
1618
namespace llvm {
1719

1820
/// Represents flags for the getelementptr instruction/expression.

0 commit comments

Comments
 (0)