[llvm-bugs] [Bug 33816] New: @available feature request: Make * not mandatory
llvm-bugs at lists.llvm.org
Mon Jul 17 07:43:09 PDT 2017
Bug ID: 33816
Summary: @available feature request: Make * not mandatory
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvm-bugs at lists.llvm.org
We currently have functions IsAtLeastOS10_10() (IsAtLeastOS10_11(), etc). These
return if the current OS is macOS, and it has at least a certain version.
We could almost replace them with @available(), except that that means "os is
at least macOS version N, or a different OS" (due to the `*`). If @available's
* wasn't mandatory and if omitting it would mean "os matches one of the listed
OSs, but nothing else", we could use that instead.
Have you considered making the * not mandatory?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs