Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
Qt Creator 2.5.0-beta, Qt Creator 2.8.0-beta
-
None
Description
int foo = 42; #if Q_OS_WIN foo = 0; #elif Q_OS_LINUX foo = 42; #endif
Renaming foo should be applied to both references. This is true also for non-local renames.
IMHO, references inside comments should also be renamed, but I guess that would be hard to track...
Here is a good real-life example why this is necessary.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-1829 "Find usages" confused by #ifdef
- Closed