Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.6.1
-
None
Description
After inserting the following in a C++ source file:
#include <memory>
#include <vector>
auto foo() -> std::vector<std::unique_ptr<int>>
{
The indentation for the rest of the file is broken.
auto foo() -> std::vector<std::unique_ptr<int>> { std::cout << "Look, ma, I'm over here!" }
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-9966 Incorrect indent for lambdas with explicit return type
-
- Closed
-