https://bugs.kde.org/show_bug.cgi?id=368108
Bug ID: 368108
Summary: Adapt signature helper doesnt keep virtual
Product: kdevelop
Version: 5.0.0
Platform: Appimage
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Language Support: CPP (Clang-based)
Assignee: [email protected]
Reporter: [email protected]
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);
--
You are receiving this mail because:
You are watching all bug changes.