[gcc(refs/vendors/ARM/heads/arm-struct-reorg-wip)] diagnostics: Fix spelling in comment

Tamar Christina tnfchris@gcc.gnu.org
Fri Jul 17 14:54:44 GMT 2020


https://gcc.gnu.org/g:04e88369a7d95492efccf8f527d27cca74664ea7

commit 04e88369a7d95492efccf8f527d27cca74664ea7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Apr 30 14:42:24 2020 +0100

    diagnostics: Fix spelling in comment
    
    gcc/ChangeLog:
    
            * pretty-print.c (pp_take_prefix): Fix spelling in comment.

Diff:
---
 gcc/ChangeLog      | 4 ++++
 gcc/pretty-print.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f83e7ac13de..a099eed75a6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-04-30  Jonathan Wakely  <jwakely@redhat.com>
+
+	* pretty-print.c (pp_take_prefix): Fix spelling in comment.
+
 2020-04-30  Marek Polacek  <polacek@redhat.com>
 
 	PR c++/94775
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index d0dd9cbd416..407f7300dfb 100644
--- a/gcc/pretty-print.c
+++ b/gcc/pretty-print.c
@@ -1595,7 +1595,7 @@ pp_set_prefix (pretty_printer *pp, char *prefix)
 }
 
 /* Take ownership of PP's prefix, setting it to NULL.
-   This allows clients to save, overide, and then restore an existing
+   This allows clients to save, override, and then restore an existing
    prefix, without it being free-ed.  */
 
 char *


More information about the Gcc-cvs mailing list