mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Use scoped enum for attribute kinds
Align with other kind enum e.g. DeclKind.
This commit is contained in:
@@ -105,7 +105,7 @@ private:
|
||||
SwiftLangSupport::UIDsFromDeclAttributes(decl->getAttrs());
|
||||
|
||||
// check if we should report an implicit @objc attribute
|
||||
if (!decl->getAttrs().getAttribute(DeclAttrKind::DAK_ObjC)) {
|
||||
if (!decl->getAttrs().getAttribute(DeclAttrKind::ObjC)) {
|
||||
if (auto *VD = dyn_cast<ValueDecl>(decl)) {
|
||||
if (VD->isObjC()) {
|
||||
uidAttrs.push_back(SwiftLangSupport::getUIDForObjCAttr());
|
||||
|
||||
Reference in New Issue
Block a user