[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:
Doug Gregor
2025-09-19 10:59:01 -07:00
parent b7b4b57799
commit ffa6d65f12
7 changed files with 38 additions and 38 deletions

View File

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