Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 6.0.1, Qt Creator 7.0.0-beta1
Description
Steps to reproduce:
- Enable Clangd
- Have a class header and it's cpp file
- Open header, add void foo() method
- Press Alt-Enter and select "Add definition in name.cpp"
- It switches to cpp file with a function definition
Expected result:
- doesn't show an error
Actual result:
- Shows an error in annotation for this function: "name.cpp:13:18: Out-of-line definition of 'foo' does not match any declaration in 'name'"
Additional info: After pressing Ctrl-Shift-S to save all opened files the error disappears
Attachments
For Gerrit Dashboard: QTCREATORBUG-26810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
390559,2 | ClangCodeModel: Enable clangd's new "dirty headers" flag, if possible | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |