diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-04-15 21:22:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-04-25 08:09:28 +0200 |
commit | 75ed56689427f972ce58e395af8aaf951dda7581 (patch) | |
tree | f02b1f7712ea688d7ee029729274f80b43c21f50 /shell/source | |
parent | 26bf26272bf525b59b4a4ce18b3ce14c1febfd7b (diff) |
Add script to find unused using declarations
As a complementer to clang-tidy-12 --checks="-*,misc-unused-using-decls"
Pros:
- simple, fast!
- finds some more unused declarations, somehow
- works on non-linux specific parts of the code
- clang-tidy (for me) trips on files with external headers, this does not
Change-Id: If2db989114ac5c2841ed2e89ff7bd7a9e419f567
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150612
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'shell/source')
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.cxx | 1 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailsuppl.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index b4bef54ef15f..d40577892cb3 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -46,7 +46,6 @@ using css::uno::UNO_QUERY; using css::uno::Reference; using css::uno::Exception; -using css::uno::RuntimeException; using css::uno::Sequence; using css::lang::IllegalArgumentException; diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx index 8fbd89b21c95..6f4eb0ea09a9 100644 --- a/shell/source/win32/simplemail/smplmailsuppl.cxx +++ b/shell/source/win32/simplemail/smplmailsuppl.cxx @@ -27,7 +27,6 @@ #include <windows.h> using com::sun::star::uno::Reference; -using com::sun::star::uno::RuntimeException; using com::sun::star::uno::Sequence; using com::sun::star::lang::XServiceInfo; using com::sun::star::system::XSimpleMailClientSupplier; |