Frontend: pass down blocklist file paths from frontend options. NFC

This commit is contained in:
Xi Ge
2023-04-07 21:26:19 -07:00
parent 1b6d160c5c
commit 2836ee357b
5 changed files with 8 additions and 5 deletions

View File

@@ -1177,9 +1177,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.DumpTypeWitnessSystems = Args.hasArg(OPT_dump_type_witness_systems);
for (auto A : Args.getAllArgValues(options::OPT_block_list_file)) {
Opts.BlocklistConfigFilePath.push_back(A);
}
Opts.BlocklistConfigFilePaths = FrontendOpts.BlocklistConfigFilePaths;
if (const Arg *A = Args.getLastArg(options::OPT_concurrency_model)) {
Opts.ActiveConcurrencyModel =
llvm::StringSwitch<ConcurrencyModel>(A->getValue())