Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 4.2.1, Qt Creator 4.3.0-rc1
-
None
Description
typedef bool (*dynCalcFn)();
dynCalcFn fnPtr = []() -> bool { // <- broken auto-indent by reason of '->'
};
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-9966 Incorrect indent for lambdas with explicit return type
-
- Closed
-
- relates to
-
QTCREATORBUG-17162 Indentation become crazy in lambda functions.
-
- Closed
-