mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #84225 from hamishknight/access-noted
Requestify the loading of access notes
This commit is contained in:
@@ -1423,6 +1423,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.OptimizationRemarkMissedPattern =
|
||||
generateOptimizationRemarkRegex(Diags, Args, A);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_access_notes_path))
|
||||
Opts.AccessNotesPath = A->getValue();
|
||||
|
||||
if (Arg *A = Args.getLastArg(OPT_Raccess_note)) {
|
||||
auto value =
|
||||
llvm::StringSwitch<std::optional<AccessNoteDiagnosticBehavior>>(
|
||||
|
||||
Reference in New Issue
Block a user