[PATCH] D90367: [darwin] add support for __isPlatformVersionAtLeast check for if (@available)

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 15:20:11 PST 2020


arphaman added inline comments.


================
Comment at: clang/lib/CodeGen/CGObjC.cpp:3874
 
   if (!CGM.IsOSVersionAtLeastFn) {
     llvm::FunctionType *FTy =
----------------
thakis wrote:
> 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?
Yes, there's support for Android since https://reviews.llvm.org/D86596


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90367/new/

https://reviews.llvm.org/D90367



More information about the cfe-commits mailing list