Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.1.0
-
d4c31cef742487fae4f03a4b871872c5e4e08ab1 (qt-creator/qt-creator/master)
Description
See the code snippet:
static void f() { struct A {int x;}; QList<A> list; list << A{1 << 1}; list << A{2}; }
Auto-indent makes it as
static void f() { struct A {int x;}; QList<A> list; list << A{1 << 1}; list << A{2}; }
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24035 Code formatting incomplete for vector
- Closed
- replaces
-
QTCREATORBUG-14358 Indention for initializer list is looking strange
- Closed