mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user