Message ID | 20190523114743.GA5337@redhat.com |
---|---|
State | New |
Headers | show |
Series | PR c++/90592 add missing word "scope" to __func__ docs | expand |
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: