| Summary: |
kdevelop messes up implementation when changing function declaration with unnamed parameters and use "update definition signature" |
| Product: |
[Applications] kdevelop
|
Reporter: |
Franz Trischberger <franz.trischberger> |
| Component: |
Language Support: CPP (old) | Assignee: |
kdevelop-bugs-null |
| Status: |
CONFIRMED
---
|
|
|
| Severity: |
normal
|
CC: |
aleixpol
|
| Priority: |
NOR
|
|
|
| Version First Reported In: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Platform: |
unspecified | |
|
| OS: |
Linux | |
|
|
Latest Commit:
|
|
Version Fixed/Implemented In:
|
|
|
Sentry Crash Report:
|
|
| |
Simple example: initial declaration: void paint(QPainter*); definition: void paint(QPainter* painter) { painter->drawRect(QRect(0,0,24,24)); } Then I change the signature of the declaration: void paint(QPainter*, QRect); kdevelop then offers me to update the signature of the definition, which leads to this: void paint(QPainter*, QRect) { ->drawRect(QRect(0,0,24,24)); } Reproducible: Always