---
MainSourceFile:     source1.cpp
Diagnostics:
  - BuildDirectory: $(path)/subdir/
    DiagnosticName: test-relative-path
    DiagnosticMessage:
      Message: Fix
      FilePath: ../relative-path.h
      FileOffset: 242
      Replacements:
        - FilePath:        ../basic.h
          Offset:          242
          Length:          26
          ReplacementText: 'auto & elem : ints'
        - FilePath:        $(path)/basic.h
          Offset:          276
          Length:          22
          ReplacementText: ''
        - FilePath:        ../basic.h
          Offset:          298
          Length:          1
          ReplacementText: elem
        - FilePath:        ../../relative-paths/basic.h
          Offset:          148
          Length:          0
          ReplacementText: 'override '
...
