summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-12-04 19:16:43 +0900
committerMichele Calgaro <[email protected]>2022-12-04 19:38:30 +0900
commitfdcd72088371b3d8dfd31f2a5159861ce0be5535 (patch)
tree06c160cc34157344f62b6c19af297858a0e57157 /debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp
parenta5d7db3b2c6171ea9e76b84155d2dfb66c243e5a (diff)
downloadextra-dependencies-fdcd72088371b3d8dfd31f2a5159861ce0be5535.tar.gz
extra-dependencies-fdcd72088371b3d8dfd31f2a5159861ce0be5535.zip
uncrustify-trinity: updated based on upstream version 0.76.0
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp111
1 files changed, 0 insertions, 111 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp
deleted file mode 100644
index 923d274b..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30241-align_func_params.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
-class SomeClass
-{
-public:
-// Short parameters
-TYPE_EXPORT method1(int a,
- float b);
-
-TYPE_EXPORT method2(int& d,
- float e);
-
-TYPE_EXPORT method3(int* f,
- float g);
-
-// Parameters with '&' and '*'
-TYPE_EXPORT method4(int a);
-TYPE_EXPORT method5(int & a);
-TYPE_EXPORT method6(int * a);
-
-TYPE_EXPORT method7(float a);
-TYPE_EXPORT method8(float & a);
-TYPE_EXPORT method9(float * a);
-
-// Single short and long parameters
-void method10(int a);
-void method11(float & a);
-void method12(SomeLongNamespace::SomeLongType long_parameter_name);
-void method13(double * a);
-void method14(SomeLongType long_parameter_name);
-
-// Long parameters
-void method20(int * int_param,
- SomeLongNamespace::SomeLongType long_parameter_name,
- float & float_param);
-
-// Possible bug: different aligning in method21 and method22
-// align_func_params_span = 1, align_func_params_thresh = 8
-void method21(SomeLoooooooooooooongType long_param_1,
- const string& string_param_1,
- const TimePoint& time_param,
- double double_param_1,
- double double_param_2,
- const string& string_param_2,
- SomeLoooooooooooooongType long_param_2 );
-void method22(SomeLoooooooooooooongType long_param_1,
- const string& string_param_1,
- double double_param_1,
- double double_param_2,
- const TimePoint& time_param,
- const string& string_param_2,
- SomeLoooooooooooooongType long_param_2 );
-
-void method23(int int_param,
- int * int_ptr_param,
- float float_param,
- float & float_ref_param,
- SomeLongNamespace::SomeLongType long_parameter_name,
- int * other_int_param,
- SomeLooooongType long_parameter_name,
- SomeLoooooooooongType looong_parameter_name,
- SomeLongNamespace::OtherLongNamespace::SomeLongType very_long_parameter_name,
- int * int_ptr_param,
- float float_param,
- float & float_ref_param,
- double & double_param,
- SomeLongNamespace::SomeLongType long_parameter_name,
- int * other_int_param);
-
-// Don't align several parameters in one line
-void method30(int* f, char foo,
- float g);
-
-// Short parameters in method definition
-void method40(int a,
- float b)
-{
- int c;
-
- if ( true ) callProc;
- // do stuff.
-}
-
-// Long parameters in method definition
-void method50(int int_param,
- SomeLongNamespace::OtherLongNamespace::SomeLongType long_parameter_name,
- float float_param,
- double double_param,
- const string & string_param)
-{
- doSomething();
-}
-
-void method51(
- int int_param,
- SomeLongNamespace::OtherLongNamespace::SomeLongType long_parameter_name,
- float float_param,
- double double_param,
- const string & string_param)
-{
- doSomething();
-}
-void increasing_length(
- int int_param,
- float float_param,
- double double_param,
- ah_long_t & string_param,
- very_long_type t_param,
- even_longer_type l_param)
-{
- doSomething();
-}
-};