Clang's `-Wimplicit-fallthrough` warnings are a little stricter than
gcc's interpretation:
switch (i) {
case 0:
foo();
case 4:
break;
}
While gcc accepts the implicit fallthrough, if the following statement
is a trivial `break`, clang will warn about it.
Pick-to: 6.7
Change-Id: I38e0817f1bc034fbb552aeac21de1516edcbcbb0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
||
|---|---|---|
| .. | ||
| evdevkeyboard | ||
| evdevmouse | ||
| evdevtablet | ||
| evdevtouch | ||
| integrityhid | ||
| libinput | ||
| shared | ||
| tslib | ||
| CMakeLists.txt | ||