Sprinkle transparent on methods involved in computation of true/false

This allows us to inline all methods involved in computation of true and false.
Now it's up to CCP to simplify it all to 1 and 0.

Swift SVN r8435
This commit is contained in:
Anna Zaks
2013-09-19 00:53:14 +00:00
parent faffef3379
commit ecff37478c

View File

@@ -1222,6 +1222,8 @@ void Serializer::writeDecl(const Decl *D) {
DeclAttributes remainingAttrs = ctor->getAttrs();
remainingAttrs.ObjC = false;
remainingAttrs.Transparent = false;
assert(remainingAttrs.empty() && "unhandled constructor attrs");
assert(!ctor->getAllocSelfExpr() && "allocating constructors not handled");