[AST] Use class names for type attribute kind enum

Align with DeclAttrKind.
This commit is contained in:
Rintaro Ishizaki
2024-02-01 23:57:03 -08:00
parent 55e565d838
commit 07bb0380a1
22 changed files with 211 additions and 206 deletions

View File

@@ -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();
}