[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Tue Jun 6 06:04:33 UTC 2017


 compilerplugins/clang/test/unnecessaryoverride-dtor.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 690f2f5c4633780734a63305fd16733fb1344c74
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jun 6 08:04:06 2017 +0200

    Avoid loplugin:unreffun
    
    Change-Id: I75ea46f257046bb42b2bfad3a5bd4450868e0d69

diff --git a/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx b/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
index 18f7aed6e4d8..518ec711d6d2 100644
--- a/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
+++ b/compilerplugins/clang/test/unnecessaryoverride-dtor.cxx
@@ -130,6 +130,7 @@ MarkedInlineButNotDefined::~MarkedInlineButNotDefined() {}
 // avoid loplugin:unreffun:
 int main() {
     (void) NonVirtualDerived1();
+    (void) DefaultDerived1();
     (void) CompleteBase();
 }
 


More information about the Libreoffice-commits mailing list