From b1b759b8b3e7eace0c286d512df359f9995eb490 Mon Sep 17 00:00:00 2001
Date: Sun, 16 May 2021 12:56:51 -0700
Subject: [PATCH 22/24] 10.5 and less: default to -fno-blocks

---
 clang/lib/Driver/ToolChains/Darwin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Driver/ToolChains/Darwin.h b/clang/lib/Driver/ToolChains/Darwin.h
index 25c63fed922a..0b1ecc7054c6 100644
--- a/clang/lib/Driver/ToolChains/Darwin.h
+++ b/clang/lib/Driver/ToolChains/Darwin.h
@@ -217,7 +217,7 @@ public:
   bool IsBlocksDefault() const override {
     // Always allow blocks on Apple; users interested in versioning are
     // expected to use /usr/include/Block.h.
-    return true;
+    return false;
   }
   bool IsIntegratedAssemblerDefault() const override {
     // Default integrated assembler to on for Apple's MachO targets.
-- 
2.21.1 (Apple Git-122.3)

