aboutsummaryrefslogtreecommitdiff
path: root/libcc1
diff options
context:
space:
mode:
Diffstat (limited to 'libcc1')
-rw-r--r--libcc1/ChangeLog10
-rw-r--r--libcc1/context.cc6
2 files changed, 13 insertions, 3 deletions
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog
index 0eb8fc6..bd1394a 100644
--- a/libcc1/ChangeLog
+++ b/libcc1/ChangeLog
@@ -1,3 +1,13 @@
+2025-07-25 David Malcolm <dmalcolm@redhat.com>
+
+ * context.cc: Update usage of "diagnostic_info" to explicitly
+ refer to "diagnostics::diagnostic_info".
+
+2025-07-25 David Malcolm <dmalcolm@redhat.com>
+
+ * context.cc: Update for move of diagnostics output formats into
+ namespace "diagnostics" as "sinks".
+
2024-12-23 Simon Martin <simon@nasilyan.com>
* Makefile.am: Remove reference to deleted marshall-c.h.
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