| 89 | } |
| 90 | |
| 91 | Json formatSourceLocation(SourceLocation const* location) |
| 92 | { |
| 93 | if (!location || !location->sourceName) |
| 94 | return Json(); |
| 95 | |
| 96 | Json sourceLocation; |
| 97 | sourceLocation["file"] = *location->sourceName; |
| 98 | sourceLocation["start"] = location->start; |
| 99 | sourceLocation["end"] = location->end; |
| 100 | return sourceLocation; |
| 101 | } |
| 102 | |
| 103 | Json formatSecondarySourceLocation(SecondarySourceLocation const* _secondaryLocation) |
| 104 | { |
no outgoing calls
no test coverage detected