From: Jonathan Wakely Date: Thu, 23 May 2019 11:47:30 +0000 (+0100) Subject: PR c++/90592 add missing word "scope" to __func__ docs X-Git-Tag: misc/cutover-git~5287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16f8992e7fec7b8d49fa423b565331b39b17b30d;p=thirdparty%2Fgcc.git PR c++/90592 add missing word "scope" to __func__ docs PR c++/90592 * doc/extend.texi (Function Names): Add missing word. From-SVN: r271554 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 695f9c4bb60b..ba549f754e22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-05-23 Jonathan Wakely + + PR c++/90592 + * doc/extend.texi (Function Names): Add missing word. + 2019-05-23 Richard Biener PR tree-optimization/88440 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 781976614244..777d974588df 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -10830,7 +10830,7 @@ evaluates to the empty string. backward compatibility with old versions of GCC. In C, @code{__PRETTY_FUNCTION__} is yet another name for -@code{__func__}, except that at file (or, in C++, namespace scope), +@code{__func__}, except that at file scope (or, in C++, namespace scope), it evaluates to the string @code{"top level"}. In addition, in C++, @code{__PRETTY_FUNCTION__} contains the signature of the function as well as its bare name. For example, this program: