Introduce a new bit in VarDecl, "isLet". Teach Sema that 'isLet' properties

are not settable (like get-only ones).  Set the 'isLet' bit in various 
places, but not the particularly interesting or useful places yet.



Swift SVN r11121
This commit is contained in:
Chris Lattner
2013-12-11 06:45:40 +00:00
parent 9c2ccd5ceb
commit 698380d6d3
19 changed files with 86 additions and 55 deletions

View File

@@ -1202,6 +1202,7 @@ void Serializer::writeDecl(const Decl *D) {
var->getAttrs().isIBOutlet(),
var->getAttrs().isOptional(),
var->isStatic(),
var->isLet(),
addTypeRef(type),
addTypeRef(var->getInterfaceType()),
addDeclRef(var->getGetter()),