From: Jakub Jelinek Date: Wed, 5 Mar 2025 05:42:48 +0000 (+0100) Subject: c++: Fix a comment typo X-Git-Tag: basepoints/gcc-16~1730 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b85b405ed333a428a51b68cb914a48ac31bf0203;p=thirdparty%2Fgcc.git c++: Fix a comment typo During the 118874 coro investigation I found a typo in a comment. Fixed thusly. 2025-03-05 Jakub Jelinek * typeck.cc (check_return_expr): Fix comment typo, rom -> from. --- diff --git a/gcc/cp/typeck.cc b/gcc/cp/typeck.cc index bbaca960bd7..fe8aceddffa 100644 --- a/gcc/cp/typeck.cc +++ b/gcc/cp/typeck.cc @@ -11450,7 +11450,7 @@ check_return_expr (tree retval, bool *no_warning, bool *dangling) bool converted = false; tree moved; /* Until C++23, this was only interesting for class type, but in C++23, - we should do the below when we're converting rom/to a class/reference + we should do the below when we're converting from/to a class/reference (a non-scalar type). */ if ((cxx_dialect < cxx23 ? CLASS_TYPE_P (functype)