From: Douglas Gregor Date: Fri, 21 Nov 2008 17:10:06 +0000 (+0000) Subject: Don't turn off blocks in C++ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc518e2a0ff07d6d3d22cd6ac9e8eb0cf5807cc1;p=clang Don't turn off blocks in C++ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59827 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/clang.cpp b/Driver/clang.cpp index ead873447b..faa7178f25 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -570,9 +570,6 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK, } else { Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault(); } - - if (Options.CPlusPlus) - Options.Blocks = 0; } static llvm::cl::opt