summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-04 12:29:12 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-07 16:06:31 +0000
commitb533faf548ff16af16ecc29765608e6b6312acaa (patch)
tree4f7b44beb8a6e2af7e4bd2f3a1949c82f90c38ae
parentfdcc823d28ae6306f75b705514b0e7ff0e97e223 (diff)
qdoc: Avoid clang warning about possibly missing comma
Fixes clangcodeparser.cpp:1219:10: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation] Change-Id: Ifc5cb20b0f7f99d3851809b06a00551aa493a1b1 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit e218d53e4c8e986c5b25de86d668047d263648ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qdoc/clangcodeparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index a7aaf4069..13f982494 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1210,7 +1210,7 @@ static const char *defaultArgs_[] = {
"-Wno-nullability-completeness",
"-fvisibility=default",
"-ferror-limit=0",
- "-I" CLANG_RESOURCE_DIR
+ ("-I" CLANG_RESOURCE_DIR)
};
/*!