mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a frontend option -enable-native-blocks to stage native block generation.
Swift SVN r16372
This commit is contained in:
@@ -515,6 +515,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_debugger_support)) {
|
||||
Opts.DebuggerSupport = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_enable_native_blocks)) {
|
||||
Opts.EnableNativeBlocks = true;
|
||||
}
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_enable_objc_attr_requires_objc_module,
|
||||
OPT_disable_objc_attr_requires_objc_module)) {
|
||||
|
||||
Reference in New Issue
Block a user