Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 13.0.0-beta2
-
None
-
Windows 10
Product: Qt Creator 13.0.0-beta2 (12.0.83)
Based on: Qt 6.6.2 (MSVC 2019, x86_64)
Built on: Feb 27 2024 13:27:07
From revision: c536712707
Description
Auto completion with clang model does not show virtual functions of base class
STEPS:
- Open some widgets example in Qt Creator (say Chip demo)
- Enable Clang model from Preferences -> C++ -> Clangd -> Use Clangd
- Open chip.cpp, type "Chip::" in some empty line and press "Ctrl+Space" for autocompletion
- Try to complete for function "Chip::mouse"
- Observe that the virtual functions are not shown in the auto completion list (namely mousePressEvent, mouseMoveEvent, mouseReleaseEvent)
- Disable Clang model from Preferences -> C++ -> Clangd -> Use Clangd (uncheck)
- Now try to complete for function "Chip::mouse"
OBSERVED:
- The auto completion with clang model does not show virtual functions of base class
- The virtual functions of base class are shown with clang model turned off
EXPECTED:
- The virtual functions of base class should be shown with clang model too
Attachment
Auto completion with clang model does not show virtual functions of base class.mp4