Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 975669a

Browse files
committed
Fix MSVC -Wmicrosoft-enum-value 'enumerator value is not representable' warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288798 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 7b48d47 commit 975669a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/llvm/IR/GetElementPtrTypeIterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace llvm {
3434

3535
ItTy OpIt;
3636
PointerUnion<StructType *, Type *> CurTy;
37-
enum { Unbounded = -1ull };
37+
enum : uint64_t { Unbounded = -1ull };
3838
uint64_t NumElements = Unbounded;
3939
generic_gep_type_iterator() = default;
4040

0 commit comments

Comments
 (0)