summaryrefslogtreecommitdiff
path: root/writerfilter/IwyuFilter_writerfilter.yaml
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-04-03 09:20:57 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-04-07 13:57:01 +0200
commitb5ede834dece9e5ece3e525f610912984c60661b (patch)
tree93d765b2f4f16f22a2562fe27c31e71f4d947f32 /writerfilter/IwyuFilter_writerfilter.yaml
parent93e6a823bd8543d30621769c7b34d6261ea5cb01 (diff)
Add IWYU wrapper script to find unused includes
I've used this script in the recent past to fix warnings in mostly sw/inc/*.hxx. Hopefully sharing it creates interest for others to do similar fixes in other modules. Change-Id: I4c8b6a1e92b006d4fd56b403a25715f11964d639 Reviewed-on: https://gerrit.libreoffice.org/52289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'writerfilter/IwyuFilter_writerfilter.yaml')
-rw-r--r--writerfilter/IwyuFilter_writerfilter.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/writerfilter/IwyuFilter_writerfilter.yaml b/writerfilter/IwyuFilter_writerfilter.yaml
new file mode 100644
index 000000000000..1397a6e48f53
--- /dev/null
+++ b/writerfilter/IwyuFilter_writerfilter.yaml
@@ -0,0 +1,8 @@
+---
+assumeFilename: writerfilter/source/filter/WriterFilter.cxx
+blacklist:
+ writerfilter/source/rtftok/rtfsdrimport.hxx:
+ # IWYU assumes std::stack<IncompleteType> in a header is OK, but that's not
+ # the case for all of LO's supported platforms.
+ # See <https://github.com/include-what-you-use/include-what-you-use/issues/175>.
+ - dmapper/GraphicZOrderHelper.hxx