Skip to content

Commit

Permalink
Ensuring the bit-fields have the same type; MSVC will place the field…
Browse files Browse the repository at this point in the history
…s in different allocation units otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274695 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
AaronBallman committed Jul 6, 2016
1 parent 2038415 commit 4a0412f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/clang/Basic/Specifiers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a0412f

Please sign in to comment.