Generate an implicit 'materializeForSet' accessor

along with getters and setters.

Just generate it for now.

Swift SVN r22011
This commit is contained in:
John McCall
2014-09-17 08:08:03 +00:00
parent c734630dc3
commit 75050f8166
36 changed files with 933 additions and 212 deletions

View File

@@ -236,6 +236,10 @@ void SILDeclRef::print(raw_ostream &OS) const {
Suffix = "!setter";
decl = FD->getAccessorStorageDecl();
break;
case AccessorKind::IsMaterializeForSet:
Suffix = "!materializeForSet";
decl = FD->getAccessorStorageDecl();
break;
}
printFullContext(decl->getDeclContext(), OS);