Ravi Kandhadai
b57a1d7c0e
[Sema] Add miscellaneous sema diagnostics to check that the new os log
...
APIs and atomic operations are passed compile-time constants for
certain arguments.
2020-04-06 18:41:13 -07:00
Ravi Kandhadai
ec9844b2d9
[SIL Optimization] Add a new mandatory pass for unrolling forEach
...
calls over arrays created from array literals. This enables optimizing
further the output of the OSLogOptimization pass, and results in
highly-compact and optimized IR for calls to the new os log API.
<rdar://58928427>
2020-02-07 20:06:29 -08:00
Ravi Kandhadai
c198c1a2aa
[Constant Evaluator] Add support for BinaryInteger.description which
...
converts an integer to a string. This patch adds a @_semantics
annotation to the BinaryInteger.description function.
2020-01-27 21:13:50 -08:00
zoecarver
49ceefc247
Fix macro defining semantics
2019-11-19 14:45:55 -08:00
zoecarver
a800c9ed42
fixup! Address review comments
2019-11-02 22:00:29 -07:00
zoecarver
2ca448b23d
Address review comments
...
* add namespace
* fix block comment style
* SEMA_ATTR -> SEMANTICS_ATTR
* error when SEMANTICS_ATTR isn't defined
2019-11-02 21:58:26 -07:00
zoecarver
9c1a614efb
Fix based on review comments
2019-11-02 13:07:20 -07:00