Re: [PATCH] Fix description of Wendif-labels (PR documentation/78732)

2017-03-31 Thread Martin Sebor
On 03/31/2017 09:06 AM, David Malcolm wrote: As noted in the PR, c.opt's description of -Wendif-labels erroneously refers to #elif, rather than #else. warn_endif_labels is used by: libcpp/directives.c: do_else libcpp/directives.c: do_endif in which they use it to guard calls to check_eol_end

Re: [PATCH] Fix description of Wendif-labels (PR documentation/78732)

2017-03-31 Thread Jeff Law
On 03/31/2017 09:06 AM, David Malcolm wrote: As noted in the PR, c.opt's description of -Wendif-labels erroneously refers to #elif, rather than #else. warn_endif_labels is used by: libcpp/directives.c: do_else libcpp/directives.c: do_endif in which they use it to guard calls to check_eol_end

[PATCH] Fix description of Wendif-labels (PR documentation/78732)

2017-03-31 Thread David Malcolm
As noted in the PR, c.opt's description of -Wendif-labels erroneously refers to #elif, rather than #else. warn_endif_labels is used by: libcpp/directives.c: do_else libcpp/directives.c: do_endif in which they use it to guard calls to check_eol_endif_labels. It's not used by do_elif. doc/cppw