diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-09-17 10:35:44 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-09-19 08:20:10 +0200 |
commit | 05418537bf82929c1e4a8575453b26d7d4c843fe (patch) | |
tree | 2a35059e5dc8cbe432a7949d51355bd361f9031b /bin | |
parent | 957d4254d6ab13bfa5df01b728d3396f11c82e9a (diff) |
bin/find-unneeded-includes: silence error on include/vcl/toolkit
Change-Id: Ia40717df6d6137ca5a8f6d91dd5b95a1decbaa72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156991
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-unneeded-includes | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index cc694fcb41a6..d538a90e32af 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -261,6 +261,10 @@ def tidy(compileCommands, paths, dontstop, noexclude): if isInUnoIncludeFile(path): continue + # IWYU fails on these with #error: don't use this in new code + if path.startswith("include/vcl/toolkit"): + continue + moduleName = path.split("/")[0] rulePath = os.path.join(moduleName, "IwyuFilter_" + moduleName + ".yaml") |