Skip to content

Commit c0ab0c9

Browse files
committed
Fixup swift-reflection-test.c and swift-reflection-dump.cpp
1 parent ab6533a commit c0ab0c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

stdlib/tools/swift-reflection-test/swift-reflection-test.c

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ static int PipeMemoryReader_queryDataLayout(void *Context,
171171
#else
172172
*result = (uintptr_t)~0ull;
173173
#endif
174+
return 1;
174175
}
175176
case DLQ_GetObjCReservedLowBits: {
176177
uint8_t *result = (uint8_t *)outBuffer;

tools/swift-reflection-dump/swift-reflection-dump.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ class ObjectMemoryReader : public MemoryReader {
480480
// mapping.
481481
auto result = static_cast<uintptr_t *>(outBuffer);
482482
*result = (uintptr_t)~0ull;
483+
return true;
483484
}
484485
case DLQ_GetObjCReservedLowBits: {
485486
auto result = static_cast<uint8_t *>(outBuffer);

0 commit comments

Comments
 (0)