From b5ede834dece9e5ece3e525f610912984c60661b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 3 Apr 2018 09:20:57 +0200 Subject: 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 Reviewed-by: Michael Stahl --- writerfilter/IwyuFilter_writerfilter.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 writerfilter/IwyuFilter_writerfilter.yaml (limited to 'writerfilter') 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 in a header is OK, but that's not + # the case for all of LO's supported platforms. + # See . + - dmapper/GraphicZOrderHelper.hxx -- cgit