Merge pull request #68996 from aschwaighofer/objective_c_protocol_symbolic_ref

Add support for objective c protocol symbolic references
This commit is contained in:
Arnold Schwaighofer
2023-10-07 09:18:33 -07:00
committed by GitHub
23 changed files with 251 additions and 13 deletions

View File

@@ -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())