diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-02-24 14:31:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-02-25 08:20:55 +0100 |
commit | 9c431f4d3afed0aad21b5ba67a5a55328c4d0685 (patch) | |
tree | 944e73da2e0cd35e9e10d3787e7c68773ffde3f8 /compilerplugins | |
parent | ea25606de5f1a60430a74107b0e2e0986ac1bb15 (diff) |
Don't use Library_tl in URE libraries
This partly reverts 8b5e23eac31cafbd442a3acab5fbcf98bfd0af11 "log nice exception
messages whereever possible", e1eb7cb04a4c30cec238ab0f54d41a6cdc3299c1
"loplugin:logexceptionnicely in starmath..svgio",
d6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 "OSL_FAIL.*exception ->
TOOLS_WARN_EXCEPTION", and 877f40ac3f2add2b6dc37bae280d4d98dd102286 "tdf#42949
Fix new IWYU warnings in directories [h-r]*", and adapts
loplugin:logexceptionnicely accordingly.
Change-Id: I792b853b988c7c5f77179ca0672c30cb4223b5a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130502
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/logexceptionnicely.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/logexceptionnicely.cxx b/compilerplugins/clang/logexceptionnicely.cxx index b010b132dfa8..6cc66fdf0289 100644 --- a/compilerplugins/clang/logexceptionnicely.cxx +++ b/compilerplugins/clang/logexceptionnicely.cxx @@ -46,6 +46,12 @@ public: return false; if (loplugin::hasPathnamePrefix(fn, SRCDIR "/comphelper/")) return false; + if (loplugin::hasPathnamePrefix(fn, SRCDIR "/io/")) + return false; + if (loplugin::hasPathnamePrefix(fn, SRCDIR "/javaunohelper/")) + return false; + if (loplugin::hasPathnamePrefix(fn, SRCDIR "/stoc/")) + return false; // can't do that here, don't have an Any if (loplugin::hasPathnamePrefix(fn, SRCDIR "/connectivity/source/drivers/hsqldb/HStorageMap.cxx")) |