Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 3.5.0
-
None
-
Xubuntu Linux 15.10, Qt Creator 3.5 with Qt 5.4.2
Description
The code Editor does improper auto-indentation after encountering the following code:
class A { int m; A(int n = 0) : m{n ? n : 5} // m(n ? n : 5) works fine! { } };
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-26105 Ternary operator in initializer breaks indentation
- Closed