summaryrefslogtreecommitdiffstats
path: root/src/common/bit_field.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop defining GCC always_inline attributes as __forceinlinearchshift2015-08-121-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.
* Merge pull request #914 from yuriks/bitfield-maskYuri Kunde Schlesner2015-07-121-2/+2
|\ | | | | Common: Fix mask generation in BitField
| * Common: Remove redundant masking in BitFieldYuri Kunde Schlesner2015-07-101-1/+1
| | | | | | | | | | For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
| * Common: Fix mask generation in BitFieldYuri Kunde Schlesner2015-07-101-1/+1
| | | | | | | | Fixes #913
* | Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-0/+1
|/
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+1
|
* Merge pull request #322 from chinhodado/masterbunnei2014-12-221-0/+6
|\ | | | | More warning cleanups
| * More warning cleanupsChin2014-12-211-0/+6
| |
* | Merge pull request #291 from purpasmart96/licensebunnei2014-12-211-1/+1
|\ \ | |/ |/| License change
| * License changepurpasmart962014-12-211-1/+1
| |
* | BitField: Add an explicit Assign method.Tony Wasserka2014-12-201-1/+5
|/ | | | This is useful when doing crazy stuff like inheriting from BitField.
* bit_field: Fix a typo in the sample usage.Lioncash2014-10-251-1/+1
|
* BitField: Cast enum values to proper integer type.Tony Wasserka2014-07-161-1/+1
|
* BitField: Add a static_assert.Tony Wasserka2014-07-161-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.
* BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka2014-07-161-0/+16
| | | | Cf. https://github.com/dolphin-emu/dolphin/pull/483
* BitField: Add an explicit evaluation method.Tony Wasserka2014-07-161-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.
* removed incorrect dolphin copyright linebunnei2014-05-081-1/+0
|
* fixed include of common in bit_field.hbunnei2014-05-081-1/+1
|
* added BitField to commonbunnei2014-05-081-0/+173