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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/win/dtrans/MtaOleClipb.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/win/dtrans/MtaOleClipb.cxx b/vcl/win/dtrans/MtaOleClipb.cxx index 8753cf46cbae..f3e19683419c 100644 --- a/vcl/win/dtrans/MtaOleClipb.cxx +++ b/vcl/win/dtrans/MtaOleClipb.cxx @@ -48,11 +48,6 @@ #include <comphelper/windowserrorstring.hxx> -// namespace directives - -using osl::MutexGuard; -using osl::ClearableMutexGuard; - namespace /* private */ { const wchar_t g_szWndClsName[] = L"MtaOleReqWnd###"; |