summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-01-18 15:16:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-01-19 23:49:57 +0100
commit9a540619334c80608960abdf8d3975884c45492a (patch)
tree7d32bb337142082748697d254208fb87e80cfd5d /compilerplugins
parentd923625d89fdaa3881d5ad1fef75a8b728b74879 (diff)
Drop unused loplugin:externandnotdefined suppression
...that was added with the initial dac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 "new loplugin: externalandnotdefined" but doesn't appear to trigger any false positives when compiling the relevant source files Change-Id: I7ff8f49209ee426b87c89e1e64efb33eb98bf982 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128562 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/externandnotdefined.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/compilerplugins/clang/externandnotdefined.cxx b/compilerplugins/clang/externandnotdefined.cxx
index a45c5c9f9a9d..c40837fa961a 100644
--- a/compilerplugins/clang/externandnotdefined.cxx
+++ b/compilerplugins/clang/externandnotdefined.cxx
@@ -60,10 +60,6 @@ bool ExternAndNotDefined::VisitFunctionDecl(const FunctionDecl * functionDecl) {
return true;
}
StringRef fileName { getFilenameOfLocation(functionDecl->getLocation()) };
- // the filters use some kind of dynamic loading stunt
- if (loplugin::hasPathnamePrefix(fileName, SRCDIR "/filter/qa/")) {
- return true;
- }
// keeps the code structure of salplug.cxx easier to follow
if (fileName == SRCDIR "/vcl/source/app/salplug.cxx") {
return true;