From 71fb4a139179e9d27070f7f3e98971e3e029697f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 May 2021 16:22:10 +0900 Subject: uncrustify: updated to version 0.73 Signed-off-by: Michele Calgaro --- .../tests/input/cpp/disable_macro.cpp | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/disable_macro.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/disable_macro.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/disable_macro.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/disable_macro.cpp new file mode 100644 index 00000000..cb9fc307 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/disable_macro.cpp @@ -0,0 +1,24 @@ +#include + +// this macro should NOT be modified ... +#define CHK(...) \ + do \ + { \ + a+=1; \ + a=b=0; \ + c<<1; \ + } while (0+0) + + +// ... whereas this should be indented and formatted +int main() +{ + int a,b,c=0; + if (a