mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Forbid @_borrowed in @abi
It has indirect effects on the accessors, so it shouldn’t matter, but we can defensively redirect the query to the API counterpart anyway. This was the last `InferredInABIAttr` attribute, so we can now remove all of the infrastructure involved in supporting attribute inference.
This commit is contained in:
@@ -1422,8 +1422,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.EnableSkipExplicitInterfaceModuleBuildRemarks = Args.hasArg(OPT_remark_skip_explicit_interface_build);
|
||||
|
||||
Opts.EnableABIInferenceRemarks = Args.hasArg(OPT_remark_abi_inference);
|
||||
|
||||
if (Args.hasArg(OPT_experimental_skip_non_exportable_decls)) {
|
||||
// Only allow -experimental-skip-non-exportable-decls if either library
|
||||
// evolution is enabled (in which case the module's ABI is independent of
|
||||
|
||||
Reference in New Issue
Block a user