Skip to content

Commit 2eb79a0

Browse files
committed
Remove tabs
1 parent 7ba8aa4 commit 2eb79a0

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
@@ -932,16 +932,16 @@ class FieldTypeMetadataBuilder : public ReflectionMetadataBuilder {
932932
// Filter to select which fields we'll export FieldDescriptors for.
933933
auto exportable_field =
934934
[](Field field) {
935-
// Don't export private C++ fields that were imported as private Swift fields.
936-
// The type of a private field might not have all the type witness
937-
// operations that Swift requires, for instance,
938-
// `std::unique_ptr<IncompleteType>` would not have a destructor.
939-
if (field.getKind() == Field::Kind::Var &&
940-
field.getVarDecl()->getClangDecl() &&
941-
field.getVarDecl()->getFormalAccess() == AccessLevel::Private)
942-
return false;
943-
// All other fields are exportable
944-
return true;
935+
// Don't export private C++ fields that were imported as private Swift fields.
936+
// The type of a private field might not have all the type witness
937+
// operations that Swift requires, for instance,
938+
// `std::unique_ptr<IncompleteType>` would not have a destructor.
939+
if (field.getKind() == Field::Kind::Var &&
940+
field.getVarDecl()->getClangDecl() &&
941+
field.getVarDecl()->getFormalAccess() == AccessLevel::Private)
942+
return false;
943+
// All other fields are exportable
944+
return true;
945945
};
946946

947947
// Count exportable fields

0 commit comments

Comments
 (0)