From b67b7f2b784c7105e88a5e639d9d84736ae2cbc1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 1 Dec 2023 12:38:43 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.78.1 Signed-off-by: Michele Calgaro --- .../tests/input/cpp/class-init.cpp | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/class-init.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/class-init.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/class-init.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/class-init.cpp new file mode 100644 index 00000000..af06e31a --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/class-init.cpp @@ -0,0 +1,62 @@ + +class Foo : public Bar +{ + +}; + +#define CTOR(i, _) : T(X()), \ + y() \ +{ } + +class Foo2 : +public Bar +{ + +}; + +class GLOX_API ClientBase : public Class, public OtherClass, + public ThridClass, public ForthClass + { +public: + ClientBase(const ClientBase & f){ + // do something + } + }; + +ClientBase :: ClientBase (const std::string& ns, + const std::string& ns1, + const std::string& ns2) +{ + +} + +Foo::Foo(int bar) : someVar(bar), othervar(0) +{ +} + +Foo::Foo(int bar) : someVar(bar), + othervar(0) +{ +} + +Foo::Foo(int bar) +: someVar(bar), othervar(0) +{ +} + +Foo::Foo(int bar) : +someVar(bar), othervar(0) +{ +} + +Foo::Foo(int bar) : +someVar(bar), + othervar(0) +{ +} + +Foo::Foo(int bar) +: someVar(bar), + othervar(0) +{ +} -- cgit v1.2.1