Ensuring the bit-fields have the same type; MSVC will place the fields in different allocation units otherwise.

llvm-svn: 274695
This commit is contained in:
Aaron Ballman 2016-07-06 22:06:19 +00:00
parent af0dd931e6
commit c1c6823976
1 changed files with 1 additions and 1 deletions

View 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