[clang] Enable direct methods and fast alloc calls for libobjc2. (PR #78030)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 14:51:55 PST 2024


================
@@ -463,7 +471,8 @@ class ObjCRuntime {
     case iOS: return true;
     case WatchOS: return true;
     case GCC: return false;
-    case GNUstep: return false;
+    case GNUstep:
+      return (getVersion() >= VersionTuple(2, 2));
----------------
compnerd wrote:

The parenthesis are unnecessary.

https://github.com/llvm/llvm-project/pull/78030


More information about the cfe-commits mailing list