]> granicus.if.org Git - clang/commitdiff
Enable blocks in C++
authorDouglas Gregor <dgregor@apple.com>
Mon, 1 Dec 2008 18:34:47 +0000 (18:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 1 Dec 2008 18:34:47 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60361 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/clang.cpp

index 0941ed4670b2976213cdf62b62aa2484b8df7316..34fd62fd9dc9b797afb86bc2311c6f07474b8869 100644 (file)
@@ -571,9 +571,6 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
   } else {
     Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault();
   }
-
-  if (Options.CPlusPlus)
-    Options.Blocks = 0;
 }
 
 static llvm::cl::opt<bool>