From: Aaron Ballman Date: Wed, 6 Jul 2016 18:33:01 +0000 (+0000) Subject: Ensuring the bit-fields have the same type; MSVC will place the fields in different... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ef0b43b260627a61af279a0d9cb31933400f665;p=clang 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 --- 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;