Kaydet (Commit) 12d75e5f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-format fix

Change-Id: I09db5eeee5734f980a794e9adee70b6b634dfd99
Reviewed-on: https://gerrit.libreoffice.org/44732Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 10bcb72a
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment