Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
Qt Creator 3.1.0-rc1
-
Windows 7 64 bit
Ubuntu 13.10
Description
- Enable the clang code model.
- In a source file, include iostream:
#include <iostream>
- Type the following beginning of a line:
std::cout << std::en
- Press Alt-Space.
Two possible autocompletions are being shown. - Select "endl" and press Enter.
The line will be completed to:std::cout << std::endl()
This is not even syntactically correct. The code can't be compiled.
The line should be completed to:
std::cout << std::endl
With Creator's built-in code model, this works correctly.
Attachments
For Gerrit Dashboard: QTCREATORBUG-11864 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122726,3 | Clang: Fix parsing of enable_if_t | 3.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |