[IDE] Complete unowned, nonisolated, access-control parameter

This commit is contained in:
Ahmed Mahmoud
2025-03-13 00:19:18 +02:00
parent 673d6a1d9f
commit 78b4e851a7
3 changed files with 101 additions and 22 deletions

View File

@@ -29,10 +29,13 @@ enum class ObjCSelectorContext {
SetterSelector
};
/// Attributes that have syntax which can't be modelled using a function call.
/// This can't be \c DeclAttrKind because '@freestandig' and '@attached' have
/// Parameterized attributes that have code completion.
/// This can't be \c DeclAttrKind because '@freestanding' and '@attached' have
/// the same attribute kind but take different macro roles as arguemnts.
enum class ParameterizedDeclAttributeKind {
AccessControl,
Nonisolated,
Unowned,
Available,
FreestandingMacro,
AttachedMacro,