diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-10-07 10:38:42 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-10-10 17:17:54 +0000 |
commit | 7eddca359dd30d1dcfabb519f60ac4be83eda02c (patch) | |
tree | 16837a94ed395a84020ff5ab884bc7fc2f3ddebd /src/corelib/kernel | |
parent | 0a71cc111ae92cdae604fdb1d4ce0090f1fb6a20 (diff) |
Q_FALLTHROUGH: use GCC extensions in non-C++17-code
GCC defines the [[gnu::fallthrough]] attribute for C++11 and C++14
code, as well as __attribute__((fallthrough)) for C++98 and C code.
Use them.
Change-Id: I66aa178c2a96e2ff9ac3f6f02821c978b4ec3696
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions