mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Frontend: add a frontend argument to pass down block list config file path
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user