Author: ddunbar
Date: Thu Oct  9 19:20:52 2008
New Revision: 57334

URL: http://llvm.org/viewvc/llvm-project?rev=57334&view=rev
Log:
Disable blocks support in C++ mode.

Modified:
    cfe/trunk/Driver/clang.cpp

Modified: cfe/trunk/Driver/clang.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=57334&r1=57333&r2=57334&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Thu Oct  9 19:20:52 2008
@@ -487,6 +487,9 @@
   } else {
     Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault();
   }
+
+  if (Options.CPlusPlus)
+    Options.Blocks = 0;   
 }
 
 static llvm::cl::opt<bool>


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to