mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Options] Make -import-bridging-header the canonical spelling instead of -import-objc-header
This command-line option hasn't been Objective-C specific ever, really. Make the language-independent spelling the primary one to make that more obvious.
This commit is contained in:
@@ -2109,7 +2109,7 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts, ArgList &Args,
|
||||
else if (Args.hasArg(OPT_emit_pcm) || Args.hasArg(OPT_dump_pcm))
|
||||
Opts.Mode = ClangImporterOptions::Modes::PrecompiledModule;
|
||||
|
||||
if (auto *A = Args.getLastArg(OPT_import_objc_header))
|
||||
if (auto *A = Args.getLastArg(OPT_import_bridging_header))
|
||||
Opts.BridgingHeader = A->getValue();
|
||||
if (auto *A = Args.getLastArg(OPT_import_pch))
|
||||
Opts.BridgingHeaderPCH = A->getValue();
|
||||
|
||||
Reference in New Issue
Block a user