qa: Add [[fallthrough]] annotations where appropriate
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Dec 2017 21:37:45 +0000 (22:37 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Apr 2018 21:14:04 +0000 (23:14 +0200)
commitaa6284fdde437d69df96a18a856f646220a02400
tree781541b013a76957c370eaa1122b9342d028cd0b
parentbf0538e811cfdd4100f7da15868e3cdc52955ae1
qa: Add [[fallthrough]] annotations where appropriate

Newer GCCs start to warn about this, so add attributes or rearrange
code as appropriate.

While the [[fallthrough]] attribute has only been standardized in
C++17, it should simply be ignored by older compilers (and it does
shut up GCC even when compiling with -std=c++11).

(cherry picked from commit 45affd4fa815bb21d0b2e46ac80114bb9174f801)
src/common/ircchannel.cpp
src/core/coresessioneventprocessor.cpp
src/core/eventstringifier.cpp
src/core/sqlitestorage.cpp
src/qtui/bufferwidget.cpp
src/qtui/chatscene.cpp
src/uisupport/networkmodelcontroller.cpp
src/uisupport/tabcompleter.cpp