From b67b7f2b784c7105e88a5e639d9d84736ae2cbc1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 1 Dec 2023 12:38:43 +0900 Subject: uncrustify-trinity: updated based on upstream version 0.78.1 Signed-off-by: Michele Calgaro --- .../uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp') diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp new file mode 100644 index 00000000..7c64f76a --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/UNI-2049.cpp @@ -0,0 +1,8 @@ +// Pointer mark should be formatted (WINAPI* SetXX) +typedef DWORD (WINAPI *SetDllDirectory) (LPCSTR); +// Pointer mark should be formatted (EXCEPTION_POINTERS* pExt) +static LONG WINAPI CustomUnhandledExceptionFilter(EXCEPTION_POINTERS * pExInfo) +{ + if (EXCEPTION_BREAKPOINT == pExInfo->ExceptionRecord->ExceptionCode) // Breakpoint. Don't treat this as a normal crash. + return EXCEPTION_CONTINUE_SEARCH; +} \ No newline at end of file -- cgit v1.2.1