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 17:53:14 +0000
commitd4153704a38e81d4ceccd4d2ca5b35c4601ec3fd (patch)
treef36591f532457dd6c0ff36566adf9cba5115a43e
parent0cb0a67619af05f55842582885d5f75ccb08a528 (diff)
downloadqtapplicationmanager-d4153704a38e81d4ceccd4d2ca5b35c4601ec3fd.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 d67482dd..a1b44572 100644
--- a/src/common-lib/crashhandler.cpp
+++ b/src/common-lib/crashhandler.cpp
@@ -319,7 +319,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()
{