diff options
Diffstat (limited to 'gcc/jit')
-rw-r--r-- | gcc/jit/jit-playback.cc | 2 | ||||
-rw-r--r-- | gcc/jit/jit-playback.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc index 7249ce8..18cc4da 100644 --- a/gcc/jit/jit-playback.cc +++ b/gcc/jit/jit-playback.cc @@ -3512,7 +3512,7 @@ add_error_va (location *loc, const char *fmt, va_list ap) void playback::context:: -add_diagnostic (struct diagnostic_context *diag_context, +add_diagnostic (diagnostic_context *diag_context, struct diagnostic_info *diagnostic) { /* At this point the text has been formatted into the pretty-printer's diff --git a/gcc/jit/jit-playback.h b/gcc/jit/jit-playback.h index 438f395..f9e29d0 100644 --- a/gcc/jit/jit-playback.h +++ b/gcc/jit/jit-playback.h @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see #include "jit-recording.h" -struct diagnostic_context; +class diagnostic_context; struct diagnostic_info; namespace gcc { @@ -247,7 +247,7 @@ public: get_first_error () const; void - add_diagnostic (struct diagnostic_context *context, + add_diagnostic (diagnostic_context *context, struct diagnostic_info *diagnostic); void |