Disable blocks support in C++ mode.

llvm-svn: 57334
This commit is contained in:
Daniel Dunbar 2008-10-10 00:20:52 +00:00
parent 63cfae34fd
commit faa4f50b71

View File

@ -487,6 +487,9 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
} else {
Options.NeXTRuntime = Target->useNeXTRuntimeAsDefault();
}
if (Options.CPlusPlus)
Options.Blocks = 0;
}
static llvm::cl::opt<bool>