aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Wu <bwu25@cs.washington.edu>2025-08-13 10:48:34 -0400
committerJason Merrill <jason@redhat.com>2025-08-13 10:49:42 -0400
commit236633fd74706f11044ea51306775a43c294da57 (patch)
tree98aa76788bd82ba25464e44a5df3bf33e0c53d5e
parentbe65c9f13d4bac7289524f97005003f39c7942ea (diff)
downloadgcc-236633fd74706f11044ea51306775a43c294da57.zip
gcc-236633fd74706f11044ea51306775a43c294da57.tar.gz
gcc-236633fd74706f11044ea51306775a43c294da57.tar.bz2
c++: fix typo in comment
gcc/cp/ChangeLog: * lex.cc (init_operators): Fix typo.
-rw-r--r--gcc/cp/lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lex.cc b/gcc/cp/lex.cc
index b7d2ac6..fa377e7 100644
--- a/gcc/cp/lex.cc
+++ b/gcc/cp/lex.cc
@@ -172,7 +172,7 @@ init_operators (void)
/* This loop iterates backwards because we need to move the
assignment operators down to their correct slots. I.e. morally
equivalent to an overlapping memmove where dest > src. Slot
- zero is for error_mark, so hae no operator. */
+ zero is for error_mark, so has no operator. */
for (unsigned ix = OVL_OP_MAX; --ix;)
{
ovl_op_info_t *op_ptr = &ovl_op_info[false][ix];