summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-04 10:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 09:42:23 +0200
commit439004122498b34433e2394d1d9c55c7d3666ab5 (patch)
treecb89fadfe33778ba5f277feb2e9f51f1876fd76d /solenv/gbuild
parent875793d841165aaaaefa2c34b855e8f0f8a8c214 (diff)
enable -Wrange-loop-analysis on clang
Change-Id: I2095308943c94ad16c110d5fac47715398eb5d39 Reviewed-on: https://gerrit.libreoffice.org/80187 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index fc3ba6958321..2c3d5f1a98f3 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -106,7 +106,8 @@ endif
ifeq ($(COM_IS_CLANG),TRUE)
gb_CXXFLAGS_COMMON += \
-Wimplicit-fallthrough \
- -Wunused-exception-parameter
+ -Wunused-exception-parameter \
+ -Wrange-loop-analysis
else
gb_CFLAGS_COMMON += \
-Wduplicated-cond \