# These replacements are out of order on purpose to test that they get sorted | |
# so that formatting happens correctly. | |
--- | |
MainSourceFile: yes.cpp | |
Diagnostics: | |
- DiagnosticName: test-yes | |
DiagnosticMessage: | |
Message: Fix | |
FilePath: $(path)/yes.cpp | |
FileOffset: 494 | |
Replacements: | |
- FilePath: $(path)/yes.cpp | |
Offset: 494 | |
Length: 1 | |
ReplacementText: nullptr | |
- FilePath: $(path)/yes.cpp | |
Offset: 410 | |
Length: 1 | |
ReplacementText: nullptr | |
- FilePath: $(path)/yes.cpp | |
Offset: 454 | |
Length: 1 | |
ReplacementText: nullptr | |
- FilePath: $(path)/yes.cpp | |
Offset: 108 | |
Length: 38 | |
ReplacementText: 'auto ' | |
... |