Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.0.0, Qt Creator 4.0.1, Qt Creator 4.4.0-beta1
-
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. This works on Ubuntu.
Found using Squish test tst_memberoperator.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-11581 Clang: Editor does not replace "." operator for pointers
- Closed