Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 3.0.0-rc1
-
None
-
gcc mingw-64 4.8 / windows7
Description
#include <iostream> using namespace std; int main(){ cout << "haha\n"; bool a{true}; int j{3},k{5}; int i{a? j : k}; //<-- After this line, the auto-indentation doesn't work correctly. cout << i << endl; }
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-11183 Correct indentation doesn't work with brace initialization and the conditional assignment operator
- Closed