summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/clang/clang_installation.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri
index f9eea55606..2d1be60748 100644
--- a/src/shared/clang/clang_installation.pri
+++ b/src/shared/clang/clang_installation.pri
@@ -120,6 +120,9 @@ isEmpty(LLVM_VERSION) {
LLVM_BINDIR = $$quote($$system($$llvm_config --bindir, lines))
LLVM_INCLUDEPATH = $$system($$llvm_config --includedir, lines)
msvc {
+ # CLANG-UPGRADE-CHECK: Remove suppression if this warning is resolved.
+ # Suppress unreferenced formal parameter warnings
+ QMAKE_CXXFLAGS += -wd4100
LLVM_STATIC_LIBS_STRING += $$system($$llvm_config --libnames, lines)
} else {
LLVM_STATIC_LIBS_STRING += $$system($$llvm_config --libs, lines)