Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r16-2761-g3cff171b243f4d.

gcc/ChangeLog:
        * diagnostics/buffering.h: Update comment to refer to output sinks
        rather than output formats.

Signed-off-by: David Malcolm <dmalc...@redhat.com>
---
 gcc/diagnostics/buffering.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/diagnostics/buffering.h b/gcc/diagnostics/buffering.h
index c3ac070ba00b..9b86fee90fe8 100644
--- a/gcc/diagnostics/buffering.h
+++ b/gcc/diagnostics/buffering.h
@@ -36,7 +36,7 @@ class sink;
    A diagnostics::buffer can be:
 
    * flushed to the diagnostics::context, which issues
-   the diagnostics within the buffer to the output format
+   the diagnostics within the buffer to the output sinks
    and checks for limits such as -fmax-errors=, or
 
    * moved to another diagnostics::buffer, which moves the diagnostics
@@ -45,13 +45,13 @@ class sink;
    source buffer, or
 
    * cleared, which discards any diagnostics within the buffer
-   without issuing them to the output format.
+   without issuing them to the output sinks.
 
-   Since a buffer needs to contain output-format-specific data,
-   it's not possible to change the output format of the
+   Since a buffer needs to contain sink-specific data,
+   it's not possible to change the output sink(s) of the
    diagnostics::context once any buffers are non-empty.
 
-   To simplify implementing output formats, it's not possible
+   To simplify implementing output sinks, it's not possible
    to change buffering on a diagnostics::context whilst within a
    diagnostic group.  */
 
-- 
2.26.3

Reply via email to