summaryrefslogtreecommitdiffstats
path: root/src/common/bit_field.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-01bit_field: Re-enable code on MSVCLioncash1-11/+0
2015-08-12Stop defining GCC always_inline attributes as __forceinlinearchshift1-6/+6
__forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
2015-07-10Common: Remove redundant masking in BitFieldYuri Kunde Schlesner1-1/+1
For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
2015-07-10Common: Fix mask generation in BitFieldYuri Kunde Schlesner1-1/+1
Fixes #913
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot1-0/+1
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2014-12-21More warning cleanupsChin1-0/+6
2014-12-21License changepurpasmart961-1/+1
2014-12-20BitField: Add an explicit Assign method.Tony Wasserka1-1/+5
This is useful when doing crazy stuff like inheriting from BitField.
2014-10-25bit_field: Fix a typo in the sample usage.Lioncash1-1/+1
2014-07-16BitField: Cast enum values to proper integer type.Tony Wasserka1-1/+1
2014-07-16BitField: Add a static_assert.Tony Wasserka1-0/+1
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
2014-07-16BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka1-0/+16
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka1-0/+5
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
2014-05-08removed incorrect dolphin copyright linebunnei1-1/+0
2014-05-08fixed include of common in bit_field.hbunnei1-1/+1
2014-05-08added BitField to commonbunnei1-0/+173