mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce special decl names
Special DeclNames represent names that do not have an identifier in the surface language. This implies serializing the information about whether a name is special together with its identifier (if it is not special) in both the module file and the swift lookup table.
This commit is contained in:
@@ -740,7 +740,11 @@ public:
|
||||
/// Returns the type with the given ID, deserializing it if needed.
|
||||
llvm::Expected<Type> getTypeChecked(serialization::TypeID TID);
|
||||
|
||||
/// Returns the identifier with the given ID, deserializing it if needed.
|
||||
/// Returns the base name with the given ID, deserializing it if needed.
|
||||
DeclBaseName getDeclBaseName(serialization::IdentifierID IID);
|
||||
|
||||
/// Convenience method to retrieve the identifier backing the name with
|
||||
/// given ID. Asserts that the name with this ID is not special.
|
||||
Identifier getIdentifier(serialization::IdentifierID IID);
|
||||
|
||||
/// Returns the decl with the given ID, deserializing it if needed.
|
||||
|
||||
Reference in New Issue
Block a user