Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.4.0
-
None
-
Windows 7 64 bit
Description
- Enable the ClangCodeModel plugin and restart Creator.
- In "Tools" -> "Options..." -> "C++" -> "Code Model", enable Clang for all file types.
- Create a new Plain C++ Project.
- After the first line in main.cpp, add a broken include.
The first line, which is correct, will be underlined. - Hover the first line with the mouse.
You'll see a tooltip: "'<filename>' file not found":
- Close and reopen main.cpp.
The underline of the first line and the tooltip are gone.
When there's an error in the code, only the wrong line should be underlined.
When using Creator's built-in code model, these error indicators will only be shown in the right location.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-15472 Only one character underlined for error found by Clang Code Model
- Closed
-
QTCREATORBUG-11606 Wrong error message: 'iostream' file not found
- Closed