From 16f8992e7fec7b8d49fa423b565331b39b17b30d Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 23 May 2019 12:47:30 +0100 Subject: [PATCH] PR c++/90592 add missing word "scope" to __func__ docs PR c++/90592 * doc/extend.texi (Function Names): Add missing word. From-SVN: r271554 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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: -- 2.30.2