diff options
Diffstat (limited to 'gcc/jit/jit-playback.h')
-rw-r--r-- | gcc/jit/jit-playback.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/jit/jit-playback.h b/gcc/jit/jit-playback.h index e9a5c38..b0625dc 100644 --- a/gcc/jit/jit-playback.h +++ b/gcc/jit/jit-playback.h @@ -30,8 +30,11 @@ along with GCC; see the file COPYING3. If not see #include "jit-recording.h" -class diagnostic_context; -struct diagnostic_info; +namespace diagnostics +{ + class context; + struct diagnostic_info; +} namespace gcc { @@ -298,7 +301,7 @@ public: void add_diagnostic (const char *text, - const diagnostic_info &diagnostic); + const diagnostics::diagnostic_info &diagnostic); void set_tree_location (tree t, location *loc); |