.noalias annotation; frontend support (#15419)
* .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
This commit is contained in:
parent
453167a41e
commit
50b6f6996a
11 changed files with 53 additions and 12 deletions
|
|
@ -195,7 +195,7 @@
|
|||
is
|
||||
cool!
|
||||
"""
|
||||
```
|
||||
```
|
||||
|
||||
- Add `initUri(isIpv6: bool)` to `uri` module, now `uri` supports parsing ipv6 hostname.
|
||||
|
||||
|
|
@ -283,6 +283,9 @@ proc mydiv(a, b): int {.raises: [].} =
|
|||
an experimental feature. In other words, you don't have to write pragma
|
||||
`{.experimental: "forLoopMacros".}` if you want to use them.
|
||||
|
||||
- Added a ``.noalias`` pragma. It is mapped to C's ``restrict`` keyword for the increased
|
||||
performance this keyword can enable.
|
||||
|
||||
|
||||
## Compiler changes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue