[PATCH, committed] libgccjit++.h: use indentation to show inheritance
David Malcolm
dmalcolm@redhat.com
Wed Jan 1 00:00:00 GMT 2014
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 --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
--
1.8.5.3
More information about the Jit
mailing list