Skip to content

Commit 3c4c00b

Browse files
committed
remove {}
1 parent 5967cbc commit 3c4c00b

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
@@ -1091,9 +1091,8 @@ SwiftLanguageRuntimeImpl::GetNumChildren(CompilerType type,
10911091
if (auto *rti =
10921092
llvm::dyn_cast_or_null<swift::reflection::RecordTypeInfo>(cti)) {
10931093
// The superclass, if any, is an extra child.
1094-
if (builder.lookupSuperclass(tr)) {
1094+
if (builder.lookupSuperclass(tr))
10951095
return rti->getNumFields() + 1;
1096-
}
10971096
return rti->getNumFields();
10981097
}
10991098

0 commit comments

Comments
 (0)