aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-08 19:05:01 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-08 19:05:01 +0000
commit53b730ff90bc866123609de78bf5247e6ae328cf (patch)
treea1371aa94f717b0c11701d4760415789fff4d7c6 /gcc
parent0f37944592a2c9ea701d82da142c0d4931a2f6f5 (diff)
downloadgcc-53b730ff90bc866123609de78bf5247e6ae328cf.zip
gcc-53b730ff90bc866123609de78bf5247e6ae328cf.tar.gz
gcc-53b730ff90bc866123609de78bf5247e6ae328cf.tar.bz2
libgccjit++.h: use indentation to show inheritance
gcc/jit/ChangeLog: * libgccjit++.h: Indent the forward declarations of the classes to show the inheritance hierarchy. From-SVN: r218489
Diffstat (limited to 'gcc')
-rw-r--r--gcc/jit/ChangeLog5
-rw-r--r--gcc/jit/libgccjit++.h21
2 files changed, 17 insertions, 9 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index a809566..afe1e66 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,5 +1,10 @@
2014-12-08 David Malcolm <dmalcolm@redhat.com>
+ * libgccjit++.h: Indent the forward declarations of the classes to
+ show the inheritance hierarchy.
+
+2014-12-08 David Malcolm <dmalcolm@redhat.com>
+
* notes.txt: Show the beginning and ending of
recording::context::compile vs playback::context::compile. Show
the creation and unlinking of the tempdir. Show toplev::finalize.
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