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/semicolons.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/semicolons.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/semicolons.cpp | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/semicolons.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/semicolons.cpp deleted file mode 100644 index 52796f75..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/semicolons.cpp +++ /dev/null @@ -1,106 +0,0 @@ -static int foo(int bar); - -static int foo(int bar) -{ - for (;;) - { - break; - };; - if (a) - { - foo();; - }; - - if (b) - if (c) - bar(); - else - ; - - else - { - foo();;;;; - }; - switch (a) - { - case 1: break; - case 2: break; - default: break;; - };; - while (b-->0) - { - bar();; - }; - do - { - bar(); - } while (b-->0 ); -}; - -enum FPP { - FPP_ONE = 1, - FPP_TWO = 2, -};; - -struct narg { - int abc; ; ; - char def; ; ; - ; - ;const char *ghi; -}; - -class CFooRun { - long stick(); - int bar() { m_ick++; }; - - CFooRun();; - ~CFooRun() {}; -}; - -void f() -{ - if (tmp[0] == "disk") - { - tmp = split (tmp[1], ","); - DiskEntry entry = { tmp[0], tmp[2], - stxxl::int64 (str2int (tmp[1])) * - stxxl::int64 (1024 * 1024) }; - disks_props.push_back (entry); - } -} - -template < class > struct type; - -template < class T > -class X { - typedef type < T > base ; - void f () { - ( base :: operator * () ) ;; - }; -}; - -namespace N -{ -class C -{ -#define NOP(x) { } -}; -} - -namespace N -{ - class C - { - }; -} - -void deallocate2(S **s_ptr) -{ - { - void *stopper_for_apply = (int[]){0}; - void **list_for_apply = (void *[]){(*s_ptr)->arr, *s_ptr, stopper_for_apply}; - for (int i = 0; list_for_apply[i] != stopper_for_apply; i++) { - saferFree((void *) & (list_for_apply[i])); - } - }; -} |