qa: Replace [[fallthrough]] by [[clang::fallthrough]]
[quassel.git] / src / core / coresessioneventprocessor.cpp
index ed2904c..47b1673 100644 (file)
@@ -718,10 +718,13 @@ void CoreSessionEventProcessor::processIrcEvent322(IrcEvent *e)
     switch (e->params().count()) {
     case 3:
         topic = e->params()[2];
+        [[clang::fallthrough]];
     case 2:
         userCount = e->params()[1].toUInt();
+        [[clang::fallthrough]];
     case 1:
         channelName = e->params()[0];
+        [[clang::fallthrough]];
     default:
         break;
     }