Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Fixed
-
Affects Version/s: Qt Creator 5.0.0, Qt Creator 6.0.0-rc1
-
Fix Version/s: Qt Creator 7.0.0
-
Component/s: C/C++/Obj-C++ Support
-
Labels:
-
Platform/s:
Description
The occurrence of the variables in a foreach( ... ) is not shown.
This seems to be a defect of clang code model, as the build in code model detects the occurrence.
With clang code model:
If you position the cursor on one of the variables in foreach, no frame is drawn and no occurrence is detected:
With build-in code model, everything is fine.
Attachments
For Gerrit Dashboard: QTCREATORBUG-26596 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
382464,3 | CppEditor: Do not overwrite extra selections from language client | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |