1# These replacements are out of order on purpose to test that they get sorted
2# so that formatting happens correctly.
3---
4MainSourceFile:  yes.cpp
5Diagnostics:
6  - DiagnosticName:  test-yes
7    DiagnosticMessage:
8      Message: Fix
9      FilePath: $(path)/yes.cpp
10      FileOffset: 494
11      Replacements:
12        - FilePath:        $(path)/yes.cpp
13          Offset:          494
14          Length:          1
15          ReplacementText: nullptr
16        - FilePath:        $(path)/yes.cpp
17          Offset:          410
18          Length:          1
19          ReplacementText: nullptr
20        - FilePath:        $(path)/yes.cpp
21          Offset:          454
22          Length:          1
23          ReplacementText: nullptr
24        - FilePath:        $(path)/yes.cpp
25          Offset:          108
26          Length:          38
27          ReplacementText: 'auto '
28...
29