mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Use class names for type attribute kind enum
Align with DeclAttrKind.
This commit is contained in:
@@ -38,7 +38,7 @@ static void generateMemberwiseInit(SourceEditConsumer &EditConsumer,
|
||||
// Unconditionally print '@escaping' if we print out a function type -
|
||||
// the assignments we generate below will escape this parameter.
|
||||
if (isa<AnyFunctionType>(memberData.MemberType->getCanonicalType())) {
|
||||
OS << "@" << TypeAttribute::getAttrName(TAK_escaping) << " ";
|
||||
OS << "@" << TypeAttribute::getAttrName(TAK_Escaping) << " ";
|
||||
}
|
||||
OS << memberData.MemberType.getString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user