The __isPlatformVersionAtLeast routine is an implementation of if (@available) check
that uses the _availability_version_check API on Darwin that's supported on
macOS 10.15, iOS 13, tvOS 13 and watchOS 6.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
clang/lib/CodeGen/CGObjC.cpp | ||
---|---|---|
3874 | Isn't the rest of the function basically dead code? Do non-darwin targets support this feature? As far as I can tell, they don't? |
clang/lib/CodeGen/CGObjC.cpp | ||
---|---|---|
3874 | Yes, there's support for Android since https://reviews.llvm.org/D86596 |
Isn't the rest of the function basically dead code? Do non-darwin targets support this feature? As far as I can tell, they don't?