mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
move the lookup to the getRealName()
This commit is contained in:
@@ -171,9 +171,6 @@ class ModuleDecl
|
||||
/// The ABI name of the module, if it differs from the module name.
|
||||
mutable Identifier ModuleABIName;
|
||||
|
||||
/// The actual module name for an alias used for this module (if any).
|
||||
mutable Identifier ModuleRealName;
|
||||
|
||||
public:
|
||||
/// Produces the components of a given module's full name in reverse order.
|
||||
///
|
||||
@@ -393,12 +390,6 @@ private:
|
||||
/// module if one exists.
|
||||
ModuleDecl *getUnderlyingModuleIfOverlay() const;
|
||||
|
||||
/// If a module alias is used, set the corresponding real name on disk,
|
||||
/// which will be used for contents including metadata and mangling.
|
||||
void setRealName(Identifier name) {
|
||||
ModuleRealName = name;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
/// Returns true if this module is an underscored cross import overlay
|
||||
|
||||
Reference in New Issue
Block a user