Skip to content

Commit 287a343

Browse files
committed
Reformat
1 parent 474ed45 commit 287a343

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

llvm/unittests/Support/YAMLIOTest.cpp

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3368,15 +3368,14 @@ struct FixedArray {
33683368

33693369
namespace llvm {
33703370
namespace yaml {
3371-
template <>
3372-
struct MappingTraits<FixedArray> {
3373-
static void mapping(IO &io, FixedArray& st) {
3374-
MutableArrayRef<int> array = st.values;
3375-
io.mapRequired("Values", array);
3376-
}
3377-
};
3378-
}
3379-
}
3371+
template <> struct MappingTraits<FixedArray> {
3372+
static void mapping(IO &io, FixedArray &st) {
3373+
MutableArrayRef<int> array = st.values;
3374+
io.mapRequired("Values", array);
3375+
}
3376+
};
3377+
} // namespace yaml
3378+
} // namespace llvm
33803379

33813380
TEST(YAMLIO, FixedSizeArray) {
33823381
FixedArray faval;
@@ -3423,5 +3422,4 @@ TEST(YAMLIO, FixedSizeArrayMismatch) {
34233422
// Error for too many elements.
34243423
EXPECT_TRUE(!!yin.error());
34253424
}
3426-
34273425
}

0 commit comments

Comments
 (0)