From ff55722fad6ea62ed532f39885c2d67b6ff87298 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Sun, 2 Oct 2022 19:04:50 +0200 Subject: [PATCH] ir: Fix documentation of canonical type propagation * src/abg-ir.cc (on-the-fly-canonicalization): Enclose the comment into
 html tag to make the ascii-art graph look good.

Signed-off-by: Dodji Seketeli 
---
 src/abg-ir.cc | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/src/abg-ir.cc b/src/abg-ir.cc
index 2563b5b3..381437c7 100644
--- a/src/abg-ir.cc
+++ b/src/abg-ir.cc
@@ -22505,15 +22505,17 @@ copy_member_function(const class_or_union_sptr& t, const method_decl* method)
 /// we say that T is a recursive type, because it has T (itself) as
 /// one of its sub-types:
 ///
-///   T
-///   +-- ST0
-///   |
-///   +-- ST1
-///   |    +
-///   |    |
-///   |    +-- T
-///   |
-///   +-- ST2
+/// 
+///    T
+///    +-- ST0
+///    |
+///    +-- ST1
+///    |    +
+///    |    |
+///    |    +-- T
+///    |
+///    +-- ST2
+/// 
/// /// ST1 is said to "depend" on T because it has T as a sub-type. But /// because T is recursive, then ST1 is said to depend on a recursive -- 2.43.5