From 2ef0b43b260627a61af279a0d9cb31933400f665 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 6 Jul 2016 18:33:01 +0000 Subject: [PATCH] Ensuring the bit-fields have the same type; MSVC will place the fields in different allocation units otherwise. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274654 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaChecking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index bd965c72d1..c1b7d47916 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -8892,7 +8892,7 @@ class SequenceChecker : public EvaluatedExprVisitor { struct Value { explicit Value(unsigned Parent) : Parent(Parent), Merged(false) {} unsigned Parent : 31; - bool Merged : 1; + unsigned Merged : 1; }; SmallVector Values; -- 2.40.0