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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16f8992e7fec7b8d49fa423b565331b39b17b30d;p=gcc.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 695f9c4bb60..ba549f754e2 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 78197661424..777d974588d 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: