Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 15.0.0 (15.0 branch)
-
None
-
-
05ae8f2fa (15.0)
Description
The "Apply function signature changes" inserts parameters with hardcoded order of qualifiers (['const', 'type']) and does not mark the changed line as changed. Thus one needs to manually touch that line in order to force-format it.
Small Analysis:
1) "Apply function signature changes" quick fix is formatted incorrectly, or not formatted at all
2) The line isn't marked as changed (I couldn't reproduce it)
3) If applying "Apply function signature changes" quick fix for the function
void foo(int const *i);
the result will be incorrect:
void foo(const int *i) { }
Attachments
Issue Links
- mentioned in
-
Page Loading...