The patch adds a method so try/catch blocks are handled explicitly.
It generates the right formatting in all cases.
the generated output for Attach and Linux is now:
try {
// something
} catch (...) {
// something
}for Stroustrup:
try {
// something
}
catch (...) {
// something
}Allman:
try
{
// something
}
catch (...)
{
// something
}And GNU:
try
{
// something
}
catch (...)
{
// something
}
Perhaps: "We arrive here when parsing function-try blocks."