mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add -Rcross-import option
It is an optional, user-accessible mechanism to have the compiler tell you what it’s cross-importing. Resolves rdar://problem/60381893
This commit is contained in:
@@ -553,6 +553,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
OPT_disable_cross_import_overlays,
|
||||
Opts.EnableCrossImportOverlays);
|
||||
|
||||
Opts.EnableCrossImportRemarks = Args.hasArg(OPT_emit_cross_import_remarks);
|
||||
|
||||
llvm::Triple Target = Opts.Target;
|
||||
StringRef TargetArg;
|
||||
if (const Arg *A = Args.getLastArg(OPT_target)) {
|
||||
|
||||
Reference in New Issue
Block a user