-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.0, Qt Creator 12.0.2
-
None
-
812326ead (master)
With clang format disabled the indenting of catch depends on the content of the catch parameters
void f()
{
try
{
int i; // here indenting of block is right
}
catch(...)
{
int j; // here indenting of block is right
}
catch(ex& e) // when having a parameter in the catch
{
int k; // indenting of content and
} // closing block brace is wrong
}
It looks like catch(ex& e) is partly detected as a function?
| For Gerrit Dashboard: QTCREATORBUG-29452 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 548125,3 | CppEditor: Support try/catch in built-in indenter | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |