compilerplugins/clang/test/unnecessaryoverride.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 12d75e5fa387767776c35945303fcd969f5cbbde
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Nov 14 19:26:31 2017 +0100

    clang-format fix
    
    Change-Id: I09db5eeee5734f980a794e9adee70b6b634dfd99
    Reviewed-on: https://gerrit.libreoffice.org/44732
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/test/unnecessaryoverride.cxx 
b/compilerplugins/clang/test/unnecessaryoverride.cxx
index b3733a7e192d..7abcf971986f 100644
--- a/compilerplugins/clang/test/unnecessaryoverride.cxx
+++ b/compilerplugins/clang/test/unnecessaryoverride.cxx
@@ -99,7 +99,12 @@ struct Base2
 struct Derived2 : Base2
 {
     void default1(Base const& x = Intermediate1()) { Base2::default1(x); } // 
no warning
-    void default2(Base const& x = SimpleDerived()) { Base2::default2(x); } // 
expected-error {{public function just calls public parent 
[loplugin:unnecessaryoverride]}}
+    void
+    default2( // expected-error {{public function just calls public parent 
[loplugin:unnecessaryoverride]}}
+        Base const& x = SimpleDerived())
+    {
+        Base2::default2(x);
+    }
 };
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to