Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.3.1
-
3f9427200bae1a84097b221839988d4d6c886fe7 (qt-creator/qt-creator/master)
Description
Consider the following lambda function:
hello([]() -> void {
cout << "world";
});
When I use Ctrl+I, this is incorrectly indented as follows:
hello([]() -> void {
cout << "world";
});
But I would prefer it to be indented as it was.
NOTE: the shorter lambda syntax (without the arrow) is indented correctly:
hello([] {
cout << "world";
});