summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorHelio Chissini de Castro <helio@kde.org>2017-09-27 10:11:50 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-11-07 19:37:06 +0000
commit159b3306d66d91274feb9fd28fdc176cecf47755 (patch)
treea34bcdc6b9eac752a64f36c63873fa940da139f0 /src/corelib/tools
parent3f519ffa150ce5a2d9e3ad3f147745b312d29afb (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