summary refs log tree commit diff stats
path: root/tests/misc/tsizeof.nim
Commit message (Collapse)AuthorAgeFilesLines
* allow packed union (#14868)Clyybber2020-07-011-0/+10
| | | Co-authored-by: Arne Döring <arne.doering@gmx.net>
* sizeof for empty objects/tuples should be 1; fixes #14690 (#14751)Andreas Rumpf2020-06-211-1/+9
|
* more on arc codegen (#13178)cooldome2020-01-191-7/+10
| | | | | | | | | | | | * arc codegen for union type * add more tests * fix offsetof * fix tsizeof test * fix style
* fixes and changes the recently introduced 'alignas' to be 'align' (#12666)Andreas Rumpf2019-11-151-4/+4
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* implemented alignas pragma (#12643)Arne Döring2019-11-131-9/+38
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* Fixed sizeOf to sizeof (#12347)Ridho Pratama2019-10-031-1/+1
|
* refactor sizealignoffset (#12077)Andreas Rumpf2019-08-281-16/+37
| | | | | | | | | | | | | | * small refactoring * refactor computeObjectOffsetFoldFunction with AccumObject * refactor packed object offstes fold function * refactor compute union object offsets fold function * merge normal/packed object offset fold function * compiletime offsetof in c++ inheritance objects * enable c++ inheritance offsetof tests * correct alignment for big sets/enums on weird 32bit platforms * uncomputedSize -> unknownSize * workaround for travis * fixes win32 alignment problems
* Offsetof fixes (#11690)Arne Döring2019-07-091-0/+84
| | | | | | | | * first fixes * more tests and fixes * code normalization
* [backport] fix #11320 (#11538)Arne Döring2019-07-031-0/+13
| | | | | * [backport] fix #11320 * fix test for 32 bit test
* sizeof alignof offsetof macros api (#10855)Arne Döring2019-03-191-0/+51
|
* tsizeof test is now correct (#10788)Arne Döring2019-03-061-16/+47
|
* sizealign of union type (#10780)Arne Döring2019-03-041-2/+10
| | | | | | * sizealign of union type * add error message for packed union
* 32 bit fixes (#10608)Arne Döring2019-02-131-1/+29
|
* Fix for sizeof bitsize combination (#10227)Arne Döring2019-01-071-0/+12
| | | | | | | | * fix #10082 * added test
* fixes #10082Andreas Rumpf2018-12-301-0/+11
|
* use anon structs and unions for a much better debug experience (#10055)Andreas Rumpf2018-12-201-23/+20
|
* bitsize respected in size calculation. (#9756)Arne Döring2018-11-191-4/+32
|
* make tsizeof run on C++ backend (#9734)Arne Döring2018-11-181-31/+35
|
* Sizeof alignof fixes (#9568)Arne Döring2018-10-301-0/+14
| | | | | fixes #9545
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-141-11/+337
|
* Add sizeof for arrays of integral types (#8445)cooldome2018-07-301-2/+20
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-10/+10
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Merge pull request #1075 from flaviut/inlinedocsAndreas Rumpf2014-04-091-0/+10
Add some documentations and code examples in system