summaryrefslogtreecommitdiffstats
path: root/clang
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
commit25391e7cb79f2c13eae0be162c8beab310c8b69e (patch)
treee6204b3ac241b17c0934908f472458333bdce234 /clang
parent427c9c17630a691f69b1ecd77061ac6f6e1764af (diff)
downloadbcm5719-llvm-25391e7cb79f2c13eae0be162c8beab310c8b69e.tar.gz
bcm5719-llvm-25391e7cb79f2c13eae0be162c8beab310c8b69e.zip
reverting this because it breaks some blocks cases, I'll send doug a testcase
llvm-svn: 59850
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/clang.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index faa7178f254..ead873447bc 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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>
OpenPOWER on IntegriCloud