summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-10-04 00:03:09 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-10-04 09:08:49 +0200
commitb3c072a4ee94c5f86723cdcc98ea08f46f981b4a (patch)
treedbbcc924f1aa83d37d0a7a03a048b9a0818faa49 /svtools
parent5d89d64846cd9fa56ffae47aae7c8c52a2a5feea (diff)
find-unneeded-includes: ignore extra recommendations
When IWYU is used to check cxx files it also checks associated hxx (but for .hxx -> .h too) files too and gives addition/removal recommendations There is no documented way of disabling this. Currently f-u-i does not differentiate between recommendations for the checked file and its header and prints everything. Which means sometimes I need to update .hxx files or blacklist warnings that interestingly are not shown when the same .hxx is checked with IWYU. The worst example is ucb/source/ucp/ftp/curl.hxx where IWYU gives recommendations for /usr/include/x86_64-linux-gnu/curl/curl.h Remedy this with considering the full filename + should add these lines: / should remove these lines: string as beginning of interesting recommendations Also remove some now obsolete blacklist entries from yaml files Change-Id: I1d139536992e4b56c699c31a4cc6491d373c2002 Reviewed-on: https://gerrit.libreoffice.org/80172 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/IwyuFilter_svtools.yaml6
1 files changed, 0 insertions, 6 deletions
diff --git a/svtools/IwyuFilter_svtools.yaml b/svtools/IwyuFilter_svtools.yaml
index cebbeb954a74..9cc69c4f10fa 100644
--- a/svtools/IwyuFilter_svtools.yaml
+++ b/svtools/IwyuFilter_svtools.yaml
@@ -4,9 +4,3 @@ blacklist:
svtools/source/dialogs/insdlg.cxx:
# Needed on WIN
- comphelper/classids.hxx
- include/svtools/statusbarcontroller.hxx:
- # Silence warning while checking statusbarcontroller.cxx
- - cppuhelper/interfacecontainer.hxx
- include/svtools/toolboxcontroller.hxx:
- # Silence warning while checking toolboxcontroller.cxx
- - cppuhelper/interfacecontainer.hxx