diff options
Diffstat (limited to 'libcc1/context.cc')
-rw-r--r-- | libcc1/context.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcc1/context.cc b/libcc1/context.cc index af5884b..38343a7 100644 --- a/libcc1/context.cc +++ b/libcc1/context.cc @@ -39,7 +39,7 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic.h" #include "langhooks.h" #include "langhooks-def.h" -#include "diagnostic-format-text.h" +#include "diagnostics/text-sink.h" #include "gcc-interface.h" @@ -63,9 +63,9 @@ cc1_plugin::plugin_context *cc1_plugin::current_context; // This is put into the lang hooks when the plugin starts. static void -plugin_print_error_function (diagnostic_text_output_format &text_output, +plugin_print_error_function (diagnostics::text_sink &text_output, const char *file, - const diagnostic_info *diagnostic) + const diagnostics::diagnostic_info *diagnostic) { if (current_function_decl != NULL_TREE && DECL_NAME (current_function_decl) != NULL_TREE |