mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
Disable blocks support in C++ mode.
llvm-svn: 57334
This commit is contained in:
parent
63cfae34fd
commit
faa4f50b71
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user