diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
commit | 3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch) | |
tree | 2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp | |
parent | ff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff) | |
download | extra-dependencies-master.tar.gz extra-dependencies-master.zip |
It is no longer necessary to maintain a customize trinity version.
Upstream version can be used as is.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp deleted file mode 100644 index 7281a2e6..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/indent_ternary-1.cpp +++ /dev/null @@ -1,76 +0,0 @@ -namespace ns1 { - int getval(void); - void baz(void); -} - - -int foo(int in1, int in2, float in3, double in4) { - int a; int b; int c; int d; - int e; int f; int g; int h; - - a = (in1 < 10) ? in2 : - ns1::getval(); - - b = (in1 < 20) ? in2 : - int(in3 * 0.4); - - c = (in1 < 30) ? in2 : - 1.25 * in4; - - d = (in1 < 40) ? in2 : - -3; - - e = (in1 < 50) ? in2 : - ~3 ^ in1; - - f = (in1 < 60) ? in2 : - !(in1 == in2); - - g = (in1 < 70) ? in2 : - ++in1; - - h = (in1 < 80) ? in2 : - in1 * 2; - - if ((in1 < 10) ? in2 : - ns1::getval()) { - ns1::baz(); - } - - if ((in1 < 20) ? in2 : - int(in3 * 0.4)) { - ns1::baz(); - } - - if ((in1 < 30) ? in2 : - 1.25 * in4) { - ns1::baz(); - } - - if ((in1 < 40) ? in2 : - -3) { - ns1::baz(); - } - - if ((in1 < 50) ? in2 : - ~3 ^ in1) { - ns1::baz(); - } - - if ((in1 < 60) ? in2 : - !(in1 == in2)) { - ns1::baz(); - } - - if ((in1 < 70) ? in2 : - ++in1) { - ns1::baz(); - } - - if ((in1 < 80) ? in2 : - in1 * 2) { - ns1::baz(); - } - - return a+b+c+d+e+f+g+h; -} |