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 <dmalc...@redhat.com>
---
 gcc/diagnostic-format-sarif.cc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gcc/diagnostic-format-sarif.cc b/gcc/diagnostic-format-sarif.cc
index 84b3e651e46..5900b9ea9b7 100644
--- a/gcc/diagnostic-format-sarif.cc
+++ b/gcc/diagnostic-format-sarif.cc
@@ -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"  |
-- 
2.26.3

Reply via email to