Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 3.5.0-rc1
-
None
Description
#define BAR bar void func() { int foo = 24; int bar; BAR = foo; }
Convert foo to Pointer results in:
#define BAR bar void func() *{ int *foo = 24; int bar; BAR = foo; }
This affects e.g. qDebug() << foo;
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-13386 Quick fix "convert to Pointer" shows strange side effects
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-14801 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122299,2 | CppEditor: Add a failing test for ConvertToPointer with macro | 3.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |