mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SIL] Refactor linkage computation
- Factor out the adding of 'external' for non-definitions - Factor out computation of the linkage limit Intended to be NFC.
This commit is contained in:
@@ -380,7 +380,10 @@ struct SILDeclRef {
|
||||
bool isAlwaysInline() const;
|
||||
/// True if the function has the @_backDeploy attribute.
|
||||
bool isBackDeployed() const;
|
||||
|
||||
|
||||
/// Return the expected linkage for a definition of this declaration.
|
||||
SILLinkage getDefinitionLinkage() const;
|
||||
|
||||
/// Return the expected linkage of this declaration.
|
||||
SILLinkage getLinkage(ForDefinition_t forDefinition) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user