Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 3.1.0-beta, Qt Creator 3.2.2
-
Windows 7 64 bit
Description
- Have these two lines in a cpp-file:
QApplication *p; p
- After the second "p", type a dot (".").
With Creator's internal code model, the dot will immediately be replaced by an arrow (->). When using the clang code model, this does not work.
The editors should have the same behavior, no matter which code model is working in the background.
Found using Squish test tst_memberoperator.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-15780 clang code model should replace dot( . ) with member access thorugh pointer operator ( -> ) like in standard code model
- Closed
- relates to
-
QTCREATORBUG-16336 Windows: Clang: Editor does not replace "." operator for pointers
- Closed
- replaces
-
QTCREATORBUG-11668 Clang CM: . is no longer expanded to ->
- Closed
- resulted in
-
QTCREATORBUG-15639 Clang Code Model is too slow for properly correcting member access operator
- Closed
For Gerrit Dashboard: QTCREATORBUG-11581 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
145679,17 | Clang: Correct member access operator if possible | master | qt-creator/qt-creator | Status: MERGED | -2 | 0 |
146447,1 | Clang: Correct member access operator if possible | 3.6 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |