aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-22 01:04:48 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-22 01:04:48 +0000
commit3f0850e6f216a80d8501f0e86d3e9be722c7a966 (patch)
tree0a43e840f3ffa5a4eff476fea7cd6edd6f735a1e
parent3cbfe2c4159e0a219ae660d50625c013aa4afbd0 (diff)
reverting this because it breaks some blocks cases, I'll send doug a testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59850 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/clang.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index faa7178f25..ead873447b 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -570,6 +570,9 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
} else {
Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault();
}
+
+ if (Options.CPlusPlus)
+ Options.Blocks = 0;
}
static llvm::cl::opt<bool>