aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-08-13 22:26:54 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2025-08-13 22:26:54 +0200
commit0f665822a091061ef1a9268797736dff0ef82a87 (patch)
tree170479f8931c32897c46ffda7cc87d6242532768
parent458773ac7bca792db044ad6c241f566c9ba87cb7 (diff)
downloadgcc-0f665822a091061ef1a9268797736dff0ef82a87.zip
gcc-0f665822a091061ef1a9268797736dff0ef82a87.tar.gz
gcc-0f665822a091061ef1a9268797736dff0ef82a87.tar.bz2
libiberty: Fix comment typo
This patch fixes a comment typo, whaever -> whatever, prompted by the recent hae -> has typo fix. 2025-08-13 Jakub Jelinek <jakub@redhat.com> * cp-demangle.c (d_encoding): Fix a comment typo, whaever -> whatever.
-rw-r--r--libiberty/cp-demangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 1922046..2d38148 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -1424,7 +1424,7 @@ d_encoding (struct d_info *di, int top_level)
/* If this is a non-top-level local-name, clear the
return type, so it doesn't confuse the user by
- being confused with the return type of whaever
+ being confused with the return type of whatever
this is nested within. */
if (!top_level && dc->type == DEMANGLE_COMPONENT_LOCAL_NAME
&& ftype->type == DEMANGLE_COMPONENT_FUNCTION_TYPE)