Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.0, Qt Creator 12.0.2
-
None
-
812326ead (master)
Description
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?