https://bugs.llvm.org/show_bug.cgi?id=47461
The following change D80940: [clang-format] [PR46159] Linux kernel 'C' code uses 'try' as a variable name, allow clang-format to handle such cases caused a regression in code which ifdef's around the try and catch block cause incorrect brace placement around the catch
#ifdef NO_EXCEPTIONS
try
#endif
{
}
#ifdef NO_EXCEPTIONS
catch (...) {
// This is not a small function
bar = 1;
}
#endif
}The brace after the catch will be placed on a newline