Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.1.0-beta
-
None
-
Ubuntu 13.10, qt creator checked out d376c2ad2cbf173f9b624328b3d80544e8e9d0fe
Description
This snippet exhibits the bad behavior:
#include <vector> #include <tuple> std::vector<std::tuple<unsigned int, double>> get_latencies(const char *file_name) { }
text inside the block is aligned to the function name.
The problem disappears when a space is inserted between braces, like this:
std::vector<std::tuple<unsigned int, double> > get_latencies(const char *file_name) { }
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-9199 Auto-indent fails after double template closing (>>) in a function's return type
- Closed