Skip to content

Commit ac21ee4

Browse files
committed
[reflection] Go back to 0/1 for bitwise_takable instead of false/true
I wanted to make the output nicer, but it makes it harder to write tests that work across OS versions, so never mind. rdar://problem/56350587
1 parent 0569796 commit ac21ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Reflection/TypeLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class PrintTypeInfo {
7575
printField("alignment", std::to_string(TI.getAlignment()));
7676
printField("stride", std::to_string(TI.getStride()));
7777
printField("num_extra_inhabitants", std::to_string(TI.getNumExtraInhabitants()));
78-
printField("bitwise_takable", TI.isBitwiseTakable() ? "true" : "false");
78+
printField("bitwise_takable", TI.isBitwiseTakable() ? "1" : "0");
7979
}
8080

8181
void printFields(const RecordTypeInfo &TI) {

0 commit comments

Comments
 (0)