diff options
author | Helio Chissini de Castro <helio@kde.org> | 2017-09-27 10:11:50 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-11-07 19:37:06 +0000 |
commit | 159b3306d66d91274feb9fd28fdc176cecf47755 (patch) | |
tree | a34bcdc6b9eac752a64f36c63873fa940da139f0 /src/corelib/tools | |
parent | 3f519ffa150ce5a2d9e3ad3f147745b312d29afb (diff) |
Change fallthrough detection order to fix clang detection
Clang compiler defines fallthrough, but wrongly detects QT_HAS_CPP_ATTRIBUTE(fallthrough).
This makes compiler breaks compilation due clang be expecting
clang::fallthrough.
Change the order makes the exceptions. clang/gnu, been tested before
the generic, setting then proper defines at end.
LLVM-bug: https://bugs.llvm.org/show_bug.cgi?id=33518
Change-Id: Ic287e9028936af3bdade5c1ee319ca8914b36ea7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools')
0 files changed, 0 insertions, 0 deletions