diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-01-03 11:15:42 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-01-03 10:42:40 +0000 |
commit | 10958d88f64268156d4a74b6f58dd5b5a808b4b1 (patch) | |
tree | f2d19a18ee91544b02f14aede2b178d5ef9ec5e1 | |
parent | 1344483ad0e9e4c2127f76b1ade284846e0e7ab7 (diff) | |
download | qt-creator-10958d88f64268156d4a74b6f58dd5b5a808b4b1.tar.gz |
Clang: Fix detection of clang with qbs
"res" was undefined.
Amends 2379007c177fa97c6eb02d9c87fd9d728eaa6e98.
Change-Id: I3af0e94c70fcb6b5b1b8027383e767a5d9cd8238
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | qbs/modules/libclang/libclang.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs/modules/libclang/libclang.qbs b/qbs/modules/libclang/libclang.qbs index a6db78d551..fc50b4f7c1 100644 --- a/qbs/modules/libclang/libclang.qbs +++ b/qbs/modules/libclang/libclang.qbs @@ -40,7 +40,7 @@ Module { llvmToolingIncludes = toolingParams.includes; llvmToolingCxxFlags = toolingParams.cxxFlags; if (toolchain.contains("gcc")) - res.push("-Wno-unused-parameter"); + llvmToolingCxxFlags.push("-Wno-unused-parameter"); llvmFormattingLibs = ClangFunctions.formattingLibs(llvmConfig, QtcFunctions, targetOS); found = llvmConfig && File.exists(llvmIncludeDir.concat("/clang-c/Index.h")); } |