diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-10-04 00:03:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-04 09:08:49 +0200 |
commit | b3c072a4ee94c5f86723cdcc98ea08f46f981b4a (patch) | |
tree | dbbcc924f1aa83d37d0a7a03a048b9a0818faa49 /sw/IwyuFilter_sw.yaml | |
parent | 5d89d64846cd9fa56ffae47aae7c8c52a2a5feea (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 'sw/IwyuFilter_sw.yaml')
-rw-r--r-- | sw/IwyuFilter_sw.yaml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml index 0b80ae609177..4f9c0b3b3961 100644 --- a/sw/IwyuFilter_sw.yaml +++ b/sw/IwyuFilter_sw.yaml @@ -309,10 +309,6 @@ blacklist: - com/sun/star/util/XUpdatable.hpp # Needed for UnoImplPtr template - unobaseclass.hxx - include/svtools/unoevent.hxx: - # Don't give false positives checking sw/source/core/inc/unoevent.hxx - - com/sun/star/container/XNameReplace.hpp - - com/sun/star/lang/XServiceInfo.hpp sw/source/core/inc/unoflatpara.hxx: # Base class needs complete type - com/sun/star/beans/XPropertySet.hpp @@ -440,9 +436,6 @@ blacklist: sw/qa/extras/ww8import/ww8import.cxx: # Needed for for-loop range - com/sun/star/graphic/XGraphic.hpp - include/sal/types.h: - # Ignore warning during checking source/filter/ww8/types.hxx - - sal/typesizes.h sw/source/filter/ww8/ww8scan.hxx: # OSL_BIGENDIAN is being checked - osl/endian.h |