@@ -347,7 +347,7 @@ class ASTContext final {
347
347
// / Cache of module names that fail the 'canImport' test in this context.
348
348
mutable llvm::SmallPtrSet<Identifier, 8 > FailedModuleImportNames;
349
349
350
- // / Mapping between aliases and underlying names of modules imported or referenced modules.
350
+ // / Mapping between aliases and real (physical) names of imported or referenced modules.
351
351
mutable llvm::DenseMap<Identifier, Identifier> ModuleAliasMap;
352
352
353
353
// / Retrieve the allocator for the given arena.
@@ -474,13 +474,13 @@ class ASTContext final {
474
474
// / specified string.
475
475
Identifier getIdentifier (StringRef Str) const ;
476
476
477
- // / Convert a given alias map to a map of Identifiers between module aliases and underlying names.
477
+ // / Convert a given alias map to a map of Identifiers between module aliases and their actual names.
478
478
// / For example, if '-module-alias A=X -module-alias B=Y' input is passed in, the aliases A and B are
479
479
// / the names of the imported or referenced modules in source files in the main module, and X and Y
480
- // / are the underlying (physical) module names on disk.
480
+ // / are the real (physical) module names on disk.
481
481
void setModuleAliases (const llvm::StringMap<StringRef> &aliasMap);
482
482
483
- // / Retrieve the underlying name given an alias name key.
483
+ // / Retrieve the actual module name given a module alias name key.
484
484
Identifier lookupModuleAlias (Identifier key) const ;
485
485
486
486
// / Decide how to interpret two precedence groups.
0 commit comments