diff mbox

[committed] libgccjit++.h: use indentation to show inheritance

Message ID 1418066063-13152-1-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm Dec. 8, 2014, 7:14 p.m. UTC
Committed to trunk as r218489.

gcc/jit/ChangeLog:
	* libgccjit++.h: Indent the forward declarations of the classes to
	show the inheritance hierarchy.
---
 gcc/jit/libgccjit++.h | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
diff mbox

Patch

diff --git a/gcc/jit/libgccjit++.h b/gcc/jit/libgccjit++.h
index 67ed5d5..7f6718b 100644
--- a/gcc/jit/libgccjit++.h
+++ b/gcc/jit/libgccjit++.h
@@ -32,16 +32,19 @@  along with GCC; see the file COPYING3.  If not see
 
 namespace gccjit
 {
+  /* Indentation indicates inheritance.  */
   class context;
-  class location;
-  class field;
-  class type;
-  class struct_;
-  class param;
-  class function;
-  class block;
-  class rvalue;
-  class lvalue;
+  class error;
+  class object;
+    class location;
+    class field;
+    class type;
+      class struct_;
+    class function;
+    class block;
+    class rvalue;
+     class lvalue;
+       class param;
 
   /* Errors within the API become C++ exceptions of this class.  */
   class error