File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 2fe3ce8af87cb0c0744e16ad8ee137fb805370d6
2
+ refs/heads/master: 6f3d6105c25d94c660093a5e07a6a762db699e98
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -393,13 +393,12 @@ class DeclAndTypePrinter::Implementation
393
393
os << " SWIFT_COMPILE_NAME(\" " << Elt->getName () << " \" )" ;
394
394
}
395
395
396
- auto *RVE = Elt->getStructuralRawValueExpr ();
397
- if (auto ILE = cast_or_null<IntegerLiteralExpr>(RVE)) {
398
- os << " = " ;
399
- if (ILE->isNegative ())
400
- os << " -" ;
401
- os << ILE->getDigitsText ();
402
- }
396
+ // Print the raw values, even the ones that we synthesize.
397
+ auto *ILE = cast<IntegerLiteralExpr>(Elt->getStructuralRawValueExpr ());
398
+ os << " = " ;
399
+ if (ILE->isNegative ())
400
+ os << " -" ;
401
+ os << ILE->getDigitsText ();
403
402
os << " ,\n " ;
404
403
}
405
404
os << " };\n " ;
You can’t perform that action at this time.
0 commit comments