compilerplugins/clang/externandnotdefined.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 9a540619334c80608960abdf8d3975884c45492a
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Jan 18 15:16:32 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Jan 19 23:49:57 2022 +0100

    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 <sberg...@redhat.com>

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;

Reply via email to