Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 3.2.1, Qt Creator 3.2.2, Qt Creator 3.3.0
-
None
Description
Following indentation
std::vector v1(5); std::cout << v1[0] << " " << " " << v1[1];
should be
std::vector v1(5); std::cout << v1[0] << " " << " " << v1[1];
.
This is only one example. Using subscript operator when passing argument to function/constructor would also produce wrong indentation on next line.
I.e.
foo(a, b, c); foo(a, arr[0], b, arr[1]);
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-12391 Wrong stream op indentation after array with >=2 dimensions
- Closed