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:
@@ -492,7 +492,9 @@ public:
|
||||
class SDKNodeTypeFunc : public SDKNodeType {
|
||||
public:
|
||||
SDKNodeTypeFunc(SDKNodeInitInfo Info);
|
||||
bool isEscaping() const { return hasTypeAttribute(TypeAttrKind::TAK_noescape); }
|
||||
bool isEscaping() const {
|
||||
return hasTypeAttribute(TypeAttrKind::TAK_NoEscape);
|
||||
}
|
||||
static bool classof(const SDKNode *N);
|
||||
void diagnose(SDKNode *Right) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user