summary refs log tree commit diff stats
path: root/compiler/sizealignoffsetimpl.nim
Commit message (Collapse)AuthorAgeFilesLines
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-2/+2
| | | | a few magic numbers with consts (#13170)
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-28/+28
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* implemented alignas pragma (#12643)Arne Döring2019-11-131-0/+4
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* refactoring: use the new strings and seqs when optSeqDestructors is activeAraq2019-10-201-2/+2
|
* fixes #12264 [backport] (#12302)Andreas Rumpf2019-09-301-5/+6
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-4/+4
| | | | | * Remove sonsLen * Use Indexable
* refactor sizealignoffset (#12077)Andreas Rumpf2019-08-281-201/+142
| | | | | | | | | | | | | | * 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
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-4/+4
| | | | * fixes #11847
* fixes #11792 (#11793)cooldome2019-07-211-1/+1
|
* there is only one style -- my styleAraq2019-07-101-4/+4
|
* Offsetof fixes (#11690)Arne Döring2019-07-091-18/+123
| | | | | | | | * first fixes * more tests and fixes * code normalization
* [backport] fix #11320 (#11538)Arne Döring2019-07-031-1/+1
| | | | | * [backport] fix #11320 * fix test for 32 bit test
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-1/+1
|
* newruntime: progressAraq2019-04-011-1/+1
|
* Size ptr tuple (#10846)Arne Döring2019-03-181-8/+0
| | | | | | * fixes #10117 * Add support for recursive tuples * detect in generics
* sizealign of union type (#10780)Arne Döring2019-03-041-2/+52
| | | | | | * sizealign of union type * add error message for packed union
* Fix for sizeof bitsize combination (#10227)Arne Döring2019-01-071-3/+8
| | | | | | | | * fix #10082 * added test
* fixes #10082Andreas Rumpf2018-12-301-25/+11
|
* fixes #9868Araq2018-12-051-1/+2
|
* gc:destructors: more progressAndreas Rumpf2018-11-291-2/+2
|
* fixes #9794: sizeof tuple is incorrect if contains imported object (#9795)cooldome2018-11-261-3/+3
| | | | | | * fixes #9794 * Fix linux test
* Fixes multiple bugs with sink arguments (#9802)cooldome2018-11-261-4/+4
| | | | | | * fixes #9781 * fix spacing
* bitsize respected in size calculation. (#9756)Arne Döring2018-11-191-3/+8
|
* make tsizeof run on C++ backend (#9734)Arne Döring2018-11-181-10/+18
|
* Merge pull request #9511 from krux02/krux02-develArne Döring2018-10-311-0/+9
|\ | | | | Krux02 devel
| * set code ownerArne Döring2018-10-301-0/+9
| |
* | Sizeof alignof fixes (#9568)Arne Döring2018-10-301-1/+1
|/ | | | | fixes #9545
* sizeof(UncheckedArray) should be invalid; fixed the formating of ↵Araq2018-10-141-87/+34
| | | | sizealignoffsetimpl.nim to make it bearable
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-141-0/+447