[cfe-commits] r59850 - /cfe/trunk/Driver/clang.cpp
Ted Kremenek
kremenek at apple.com
Fri Nov 21 17:04:48 PST 2008
Author: kremenek
Date: Fri Nov 21 19:04:48 2008
New Revision: 59850
URL: http://llvm.org/viewvc/llvm-project?rev=59850&view=rev
Log:
reverting this because it breaks some blocks cases, I'll send doug a testcase
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=59850&r1=59849&r2=59850&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Fri Nov 21 19:04:48 2008
@@ -570,6 +570,9 @@
} else {
Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault();
}
+
+ if (Options.CPlusPlus)
+ Options.Blocks = 0;
}
static llvm::cl::opt<bool>
More information about the cfe-commits
mailing list