| Summary: | C++ Assistant should remove superflous whitespace when removing all function parameters | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Thomas McGuire <mcguire> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | aleixpol, jpmbatrina01 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Correct behavior in KDevelop 5.6.40 | ||
It still happens. Created attachment 140480 [details]
Correct behavior in KDevelop 5.6.40
Seems to have been fixed!
|
Version: (using Devel) OS: Linux Installed from: Compiled sources This is a real nitpick, but anyway: Say the .h has the following function void foo( int bar ); And the .cpp has the implementation: void foo ( int bar ) { [..] } Now if you remove the argument from the implementation, the assistant offers to update the declaration, which is really really nice. However, it has superflous whitespace in the .h, like this: void foo( ); It should be: void foo();