Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.13.2
-
None
-
Linux (Ubuntu 18.04)
Description
Qt Creator editor is doing the wrong indentation after auto unwrap. It seems to be considering this a lambda. The indentation changes adding 12 spaces (I'm using 4 spaces to indent)
Example of wrong indentation
for (const QVariant &v : l) { auto [account, ns] = parser.parse_namespace_key(v.toString()); QTreeWidgetItem *item = new QTreeWidgetItem(); // <-- Wrong indentation
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-19238 indentation is wrong with c++17 structured binding
-
- Closed
-