summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-04 12:29:12 +0100
committerKai Köhne <kai.koehne@qt.io>2022-01-07 15:49:29 +0100
commite218d53e4c8e986c5b25de86d668047d263648ca (patch)
treea8bf0459778dc15ed6f6f39af801cb2f1e0d2c34 /src/qdoc/clangcodeparser.cpp
parenta9084297f629423c64d571d7f7286d3c0e239247 (diff)
downloadqttools-e218d53e4c8e986c5b25de86d668047d263648ca.tar.gz
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] Pick-to: 6.2 6.3 Change-Id: Ifc5cb20b0f7f99d3851809b06a00551aa493a1b1 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-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 1b9096e97..2364981a1 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1216,7 +1216,7 @@ static const char *defaultArgs_[] = {
"-Wno-nullability-completeness",
"-fvisibility=default",
"-ferror-limit=0",
- "-I" CLANG_RESOURCE_DIR
+ ("-I" CLANG_RESOURCE_DIR)
};
/*!