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
For Gerrit Dashboard: QTCREATORBUG-16977 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
301525,2 | C++: Fix wrong formatting | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |