[Index] Record the access level of declarations in the index

rdar://163256878
This commit is contained in:
Alex Hoppen
2025-10-30 14:01:01 +01:00
parent cc777e53bc
commit aa9c295ad5
40 changed files with 469 additions and 372 deletions

View File

@@ -436,7 +436,8 @@ public:
static std::optional<UIdent>
getUIDForDeclAttribute(const swift::DeclAttribute *Attr);
static SourceKit::UIdent getUIDForFormalAccessScope(const swift::AccessScope Scope);
static SourceKit::UIdent
getUIDForAccessLevel(const clang::index::SymbolProperty Scope);
static std::vector<UIdent> UIDsFromDeclAttributes(const swift::DeclAttributes &Attrs);