Frontend: add a frontend argument to pass down block list config file path

This commit is contained in:
Xi Ge
2023-04-05 12:20:49 -07:00
parent ba31c97d4f
commit 2c2431e2da
4 changed files with 13 additions and 0 deletions

View File

@@ -707,6 +707,10 @@ ASTContext::ASTContext(
registerNameLookupRequestFunctions(evaluator);
createModuleToExecutablePluginMap();
// Insert all block list config paths.
for (auto path: langOpts.BlocklistConfigFilePath) {
blockListConfig.addConfigureFilePath(path);
}
}
ASTContext::~ASTContext() {