Remove the concept of a "nonsettable lvalue": Now everything that is

nonsettable is represented as an rvalue.  Yay for one less concept in
the AST.


Swift SVN r11640
This commit is contained in:
Chris Lattner
2013-12-25 22:20:01 +00:00
parent bbe346d004
commit d7621b5a7b
14 changed files with 12 additions and 86 deletions

View File

@@ -1793,8 +1793,7 @@ void Serializer::writeType(Type ty) {
unsigned abbrCode = DeclTypeAbbrCodes[LValueTypeLayout::Code];
LValueTypeLayout::emitRecord(Out, ScratchRecord, abbrCode,
addTypeRef(lValueTy->getObjectType()),
lValueTy->getQualifiers().isImplicit(),
!lValueTy->getQualifiers().isSettable());
lValueTy->getQualifiers().isImplicit());
break;
}