From dcedd88a65e9ca069284451e824ec2f086f24bbe Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Fri, 24 Jun 2022 16:36:54 +0200 Subject: clang wants C++ attributes before a func declaration nowadays Change-Id: I7a537aa4b21e499ba7ca0a1d46314dce60266bfc Reviewed-by: Robert Griebl (cherry picked from commit 3da5d60c0e362504b18f9a567013504c9bdb1464) Reviewed-by: Qt Cherry-pick Bot --- src/common-lib/crashhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.1