[RFA 1/3] Fix "fall through" comments

Yao Qi qiyaoltc@gmail.com
Tue Sep 27 21:48:00 GMT 2016


On Tue, Sep 27, 2016 at 7:16 PM, Tom Tromey <tom@tromey.com> wrote:
> This patch updates existing "fall through" comments so that they can
> be recognized by gcc's -Wimplicit-fallthrough comment-parsing
> heuristic.
>

clang has -Wimplicit-fallthrough as well, but warnings are suppressed in
a different way.  Do we need to suppress warnings generated by both gcc
and clang?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list