| Summary: | Adapt signature helper doesnt keep virtual | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Ian H <master.haber> |
| Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Still broken in 22.04 |
using the adapt signature option after changing a function definition in the cpp file removes the virtual keyword from the header file. Reproducible: Always Steps to Reproduce: 1. add function virtual void test(); to header file 2. add definition void test(){} to cpp file 3. add parameter to cpp file: void test(int val){} 4. use alt to bring up options, and use update declaration signature Actual Results: header file now has void test(int val); Expected Results: header file should have virtual void test(int val);