summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp75
1 files changed, 75 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp
new file mode 100644
index 00000000..4363833f
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/34167-nl_func_call_args_multi_line_ignore_closures.cpp
@@ -0,0 +1,75 @@
+methodCall([] {
+ Log();
+});
+
+funcCall(
+ match ( [ & ]( const ContentProps &props) {
+ return PairingCmpnt()
+})
+ );
+
+match( [ & ]( const ContentProps &props) {
+ return PairingCmpnt()
+});
+
+
+outerMethodCall(
+ methodCall(^{
+ // action
+}, x)
+ );
+
+outerMethodCall(
+ x,
+ methodCall(^{
+ // action
+}, y)
+ );
+
+options({
+ .cornerRadius = CGFLOAT_MAX,
+});
+
+mapToPtr([&](const LeftAddOn::Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr(x, [&](const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+mapToPtr([&](const Props &addOnProps) {
+ FSTheme *const theme = AK::getTheme();
+});
+
+methodCall(
+ arg1,
+ arg2,
+ arg3
+ );
+
+methodCall(arg1, arg2, arg3);
+
+methodCall(
+ arg1, []{
+ variant.action.send(Cmpnt);
+}, arg3
+ );
+
+methodCall(
+ arg1, {
+ .x = 10,
+},
+ arg3
+ );
+
+methodCall({
+ .x = 10,
+},
+ arg3);
+
+methodCall(
+ arg1, {
+ .x = 10,
+}
+ );