Alejandro Alonso
|
e41fe5a173
|
Special case some unknown builtin macros
|
2023-11-08 16:02:31 -08:00 |
|
Alejandro Alonso
|
31aed274c4
|
Silence some standard library warnings
|
2023-11-07 15:03:53 -08:00 |
|
Doug Gregor
|
feb5c09d93
|
Remove OptionSet macro from the standard library.
|
2023-06-06 23:37:38 -07:00 |
|
Doug Gregor
|
e13b104357
|
Add #warning and #error macro declarations to the standard library
|
2023-03-09 22:29:49 -08:00 |
|
Doug Gregor
|
2ac6aba256
|
Use proper feature check style for this
|
2023-03-06 12:29:20 -08:00 |
|
Doug Gregor
|
3321100c23
|
[Macros] Add #ifs around macro declarations in standard library
Older toolchain compilers don't have macros enabled by default, so we
need to keep these around longer.
|
2023-03-06 08:15:30 -08:00 |
|
Holly Borla
|
2f81706e37
|
[Macros] Add introduced names to the OptionSet macro.
|
2023-03-04 18:47:47 -08:00 |
|
Doug Gregor
|
0e9c3eff8a
|
[Macros] Add OptionSet and plumb it through
|
2023-03-03 21:39:16 -08:00 |
|
Doug Gregor
|
6d6988b649
|
Indentation fix
|
2023-03-02 20:34:58 -08:00 |
|
Doug Gregor
|
fa0bbcf59a
|
[SE-0382] Stage in prototypes of macros defined in the standard library.
This are inactive at the moment; we'll conditionally take advantage of them
later on. Part of rdar://104346457.
|
2023-03-02 20:34:58 -08:00 |
|
Doug Gregor
|
5a9a654adb
|
Adopt @freestanding(expression) for all @expression macros
|
2023-01-25 17:07:38 -08:00 |
|
Doug Gregor
|
4b9615e244
|
Don't make older compilers parse @expression at all
|
2023-01-10 11:32:08 -08:00 |
|
Doug Gregor
|
728598907d
|
Allow the standard library to build with a slightly older compiler
Check for the `@expression` attribute before using it. Fixes
rdar://104036723.
|
2023-01-09 11:46:57 -08:00 |
|
Doug Gregor
|
0868889ba9
|
Add new source file Macros.swift
|
2023-01-02 21:22:05 -08:00 |
|