mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Teach the parser to add the didSet/willSet functions to the enclosing
type, so we emit them. Add mangler (and demangler) support for these. Enhance our testcase to check to make sure that stores within these specifiers are direct, they don't cause recursive infinite loops. John, I picked w/W for the mangling letters, let me know if this is ok. Swift SVN r13050
This commit is contained in:
@@ -93,8 +93,8 @@ public:
|
||||
ResilienceExpansion kind, unsigned uncurryingLevel);
|
||||
void mangleDestructorEntity(DestructorDecl *decl, bool isDeallocating);
|
||||
void mangleIVarInitDestroyEntity(ClassDecl *decl, bool isDestroyer);
|
||||
void mangleGetterEntity(ValueDecl *decl, ResilienceExpansion expansion);
|
||||
void mangleSetterEntity(ValueDecl *decl, ResilienceExpansion expansion);
|
||||
void mangleAccessorEntity(char Code, ValueDecl *decl,
|
||||
ResilienceExpansion expansion);
|
||||
void mangleAddressorEntity(ValueDecl *decl);
|
||||
void mangleDefaultArgumentEntity(DeclContext *ctx, unsigned index);
|
||||
void mangleInitializerEntity(VarDecl *var);
|
||||
|
||||
Reference in New Issue
Block a user