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
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
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