[pushed] diagnostics: SARIF output: tweak ASCII art in comment
Checks
Commit Message
Pushed to trunk as r15-2463-gf829e627f40c95.
gcc/ChangeLog:
* diagnostic-format-sarif.cc: Tweak ASCII art in comment
to show edges for both directions in the digraph.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
---
gcc/diagnostic-format-sarif.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
@@ -290,17 +290,17 @@ private:
. | have 'char'"| | | with type 'int'") |
. | in include-chain-1-2.h | | in include-chain-1-1.h |
. +-----------------------------------+ +----------------------------------+
- . | |
- . | included-by | included-by
- . V V
+ . ^ | ^ |
+ . includes | | included-by includes | | included-by
+ . | V | V
. +--------------------------------+ +--------------------------------+
. |"id": 1 | |"id": 3 |
. | #include "include-chain-1-2.h" | | #include "include-chain-1-1.h" |
. | in include-chain-1.h | | in include-chain-1.h |
. +--------------------------------+ +--------------------------------+
- . | |
- . | included-by | included-by
- . V V
+ . ^ | ^ |
+ . includes | | included-by includes | | included-by
+ . | V | V
. +------------------------------------+
. |"id": 4 |
. | The #include "include-chain-1.h" |