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>
Tue, 19 Dec 2017 22:25:23 +0000 (23:25 +0100)
commit45affd4fa815bb21d0b2e46ac80114bb9174f801
treeb8675b7ebe19eaf55017e8534a2df0eaa063ff92
parentf6ceb85c6baa3e42dd5711fb62c96aed181ba46f
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).
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