mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #68996 from aschwaighofer/objective_c_protocol_symbolic_ref
Add support for objective c protocol symbolic references
This commit is contained in:
@@ -2932,6 +2932,11 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
return true;
|
||||
}
|
||||
|
||||
Opts.EnableObjectiveCProtocolSymbolicReferences =
|
||||
Args.hasFlag(OPT_enable_objective_c_protocol_symbolic_references,
|
||||
OPT_disable_objective_c_protocol_symbolic_references,
|
||||
Opts.EnableObjectiveCProtocolSymbolicReferences);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(options::OPT_platform_c_calling_convention)) {
|
||||
Opts.PlatformCCallingConvention =
|
||||
llvm::StringSwitch<llvm::CallingConv::ID>(A->getValue())
|
||||
|
||||
Reference in New Issue
Block a user