]> granicus.if.org Git - clang/commitdiff
Ensuring the bit-fields have the same type; MSVC will place the fields in different...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 6 Jul 2016 22:06:19 +0000 (22:06 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 6 Jul 2016 22:06:19 +0000 (22:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274695 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Specifiers.h

index c099d6e68105d9b84a3c48ec0edb5ff04754fa77..fffd4b1cd20b3c98502566725b1e402df511b2a6 100644 (file)
@@ -85,7 +85,7 @@ namespace clang {
     /*DeclSpec::TST*/ unsigned Type  : 5;
     /*DeclSpec::TSS*/ unsigned Sign  : 2;
     /*DeclSpec::TSW*/ unsigned Width : 2;
-    bool ModeAttr : 1;
+    unsigned ModeAttr : 1;
   };  
 
   /// \brief A C++ access specifier (public, private, protected), plus the