Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 4.0.2
Description
Qt Creator indentation become crazy in some situations.
Here a minimal example:
#include <QWidget> #include <functional> class test { int setFunc(std::function<void(Qt::FocusReason)> b){return 1;} void func() { int any = setFunc([this](Qt::FocusReason reason) { if(true) // insert here \n { \n } }); } }; int main(int n, char **args) { return 0; }
Attachments
Issue Links
- relates to
-
QTCREATORBUG-18090 Broken auto-indent after lambda
-
- Closed
-