Bug 368108

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:

Description Ian H 2016-09-01 14:45:03 UTC
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);
Comment 1 Justin Zobel 2022-10-24 00:46:52 UTC
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!
Comment 2 Ian H 2022-10-31 16:27:02 UTC
Still broken in 22.04