mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: diagnose value ownership changes for parameters.
This commit is contained in:
@@ -312,6 +312,10 @@ bool SDKNodeType::hasTypeAttribute(TypeAttrKind DAKind) const {
|
||||
TypeAttributes.end();
|
||||
}
|
||||
|
||||
StringRef SDKNodeType::getParamValueOwnership() const {
|
||||
return ParamValueOwnership.empty() ? "Default" : ParamValueOwnership;
|
||||
}
|
||||
|
||||
StringRef SDKNodeType::getTypeRoleDescription() const {
|
||||
assert(isTopLevelType());
|
||||
auto P = cast<SDKNodeDecl>(getParent());
|
||||
|
||||
Reference in New Issue
Block a user