File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -3368,15 +3368,14 @@ struct FixedArray {
3368
3368
3369
3369
namespace llvm {
3370
3370
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
3380
3379
3381
3380
TEST (YAMLIO, FixedSizeArray) {
3382
3381
FixedArray faval;
@@ -3423,5 +3422,4 @@ TEST(YAMLIO, FixedSizeArrayMismatch) {
3423
3422
// Error for too many elements.
3424
3423
EXPECT_TRUE (!!yin.error ());
3425
3424
}
3426
-
3427
3425
}
You can’t perform that action at this time.
0 commit comments