https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90592

            Bug ID: 90592
           Summary: Documentation: Missing word (or wrong
                    parenthesization) in "Function Names as Strings"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gennaro.prota+gccbugzilla at gmail dot com
  Target Milestone: ---

In "Function Names as Strings" (par. 6.50 in
<https://gcc.gnu.org/onlinedocs/gcc/Function-Names.html>) there's the following
text:

  As an extension, at file (or, in C++, namespace scope), __func__
  evaluates to the empty string.

Here, "at file" should be followed by the word "scope", so I suggest changing
the text to either

  - As an extension, at file (or, in C++, namespace) scope, __func__
    evaluates to the empty string.

or

  - As an extension, at file scope (or, in C++, namespace scope), __func__
    evaluates to the empty string.

Reply via email to