Skip to content

Commit 10f554f

Browse files
committed
Remove tabs
1 parent e5be765 commit 10f554f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/IRGen/GenReflection.cpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -947,16 +947,16 @@ class FieldTypeMetadataBuilder : public ReflectionMetadataBuilder {
947947
// Filter to select which fields we'll export FieldDescriptors for.
948948
auto exportable_field =
949949
[](Field field) {
950-
// Don't export private C++ fields that were imported as private Swift fields.
951-
// The type of a private field might not have all the type witness
952-
// operations that Swift requires, for instance,
953-
// `std::unique_ptr<IncompleteType>` would not have a destructor.
954-
if (field.getKind() == Field::Kind::Var &&
955-
field.getVarDecl()->getClangDecl() &&
956-
field.getVarDecl()->getFormalAccess() == AccessLevel::Private)
957-
return false;
958-
// All other fields are exportable
959-
return true;
950+
// Don't export private C++ fields that were imported as private Swift fields.
951+
// The type of a private field might not have all the type witness
952+
// operations that Swift requires, for instance,
953+
// `std::unique_ptr<IncompleteType>` would not have a destructor.
954+
if (field.getKind() == Field::Kind::Var &&
955+
field.getVarDecl()->getClangDecl() &&
956+
field.getVarDecl()->getFormalAccess() == AccessLevel::Private)
957+
return false;
958+
// All other fields are exportable
959+
return true;
960960
};
961961

962962
// Count exportable fields

0 commit comments

Comments
 (0)