implemented alignas pragma (#12643)
* implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
This commit is contained in:
parent
84861eb48a
commit
0496a666e2
13 changed files with 153 additions and 19 deletions
|
|
@ -824,6 +824,7 @@ type
|
|||
of skLet, skVar, skField, skForVar:
|
||||
guard*: PSym
|
||||
bitsize*: int
|
||||
alignment*: int # for alignas(X) expressions
|
||||
else: nil
|
||||
magic*: TMagic
|
||||
typ*: PType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue