commit | 7744d4aaf4e2dc7bf71113717087e9715c5c2af7 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Oct 10 00:20:52 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Oct 10 00:20:52 2008 +0000 |
tree | 356f22ec5724fed1e2a8db6972f9ef8c2a69aa7b | |
parent | d06a58adc8c19ba8d7efdfcd8842f856492e9084 [diff] [blame] |
Disable blocks support in C++ mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57334 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 8e5bca2..f415de1 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp
@@ -487,6 +487,9 @@ } else { Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault(); } + + if (Options.CPlusPlus) + Options.Blocks = 0; } static llvm::cl::opt<bool>