summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-06-24 16:36:54 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-28 11:05:11 +0000
commitdcedd88a65e9ca069284451e824ec2f086f24bbe (patch)
tree9648c9c62e9b51199ef3ef1b2b42842943e53cc8
parent2eaa73502935c4bf35fd9d429f740cb7fed63355 (diff)
downloadqtapplicationmanager-dcedd88a65e9ca069284451e824ec2f086f24bbe.tar.gz
clang wants C++ attributes before a func declaration nowadays
Change-Id: I7a537aa4b21e499ba7ca0a1d46314dce60266bfc Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 3da5d60c0e362504b18f9a567013504c9bdb1464) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/common-lib/crashhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common-lib/crashhandler.cpp b/src/common-lib/crashhandler.cpp
index 2fc0cc15..df1e96e4 100644
--- a/src/common-lib/crashhandler.cpp
+++ b/src/common-lib/crashhandler.cpp
@@ -311,7 +311,7 @@ QT_END_NAMESPACE_AM
QT_BEGIN_NAMESPACE_AM
-static Q_NORETURN void crashHandler(const char *why, int stackFramesToIgnore);
+Q_NORETURN static void crashHandler(const char *why, int stackFramesToIgnore);
static void initBacktraceUnix()
{