]> granicus.if.org Git - clang/commitdiff
Don't turn off blocks in C++
authorDouglas Gregor <dgregor@apple.com>
Fri, 21 Nov 2008 17:10:06 +0000 (17:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 21 Nov 2008 17:10:06 +0000 (17:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59827 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/clang.cpp

index ead873447bc50aba28858116b1a9359e1fa37694..faa7178f2547888f0817813c97ae75627d65eb31 100644 (file)
@@ -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<bool>