Author: aaronballman Date: Wed Jul 6 17:06:19 2016 New Revision: 274695 URL: http://llvm.org/viewvc/llvm-project?rev=274695&view=rev Log: Ensuring the bit-fields have the same type; MSVC will place the fields in different allocation units otherwise.
Modified: cfe/trunk/include/clang/Basic/Specifiers.h Modified: cfe/trunk/include/clang/Basic/Specifiers.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Specifiers.h?rev=274695&r1=274694&r2=274695&view=diff ============================================================================== --- cfe/trunk/include/clang/Basic/Specifiers.h (original) +++ cfe/trunk/include/clang/Basic/Specifiers.h Wed Jul 6 17:06:19 2016 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits