-
Vlad Zahorodnii authored
Summary: Qt has its own macro to tell the compiler that the lack of the break statement is intentional. One of the advantages of using Q_FALLTHROUGH is that it explicitly says other developers that the break statement is missing on purpose. Another advantage is that we can use directives, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817 Test Plan: Compiled Breeze with GCC 7 and Clang, no "this statement may fall through" warnings whatsoever. Reviewers: #breeze, davidedmundson Reviewed By: davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D11860
2983e639