Skip to content

Commit 2f80e0b

Browse files
committed
remove {}
(cherry picked from commit 3c4c00b)
1 parent fa3698f commit 2f80e0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Target/SwiftLanguageRuntimeDynamicTypeResolution.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,9 +1089,8 @@ SwiftLanguageRuntimeImpl::GetNumChildren(CompilerType type,
10891089
if (auto *rti =
10901090
llvm::dyn_cast_or_null<swift::reflection::RecordTypeInfo>(cti)) {
10911091
// The superclass, if any, is an extra child.
1092-
if (builder.lookupSuperclass(tr)) {
1092+
if (builder.lookupSuperclass(tr))
10931093
return rti->getNumFields() + 1;
1094-
}
10951094
return rti->getNumFields();
10961095
}
10971096

0 commit comments

Comments
 (0)