If the feature 'Change Signature' is used, all comments between signature (declaration of the function) and the bracket at the beginning of the function body are removed.
Before: //--------------------------- void CClass::Function(int a) //--------------------------- { ... }
After: //--------------------------- void CClass::Function(int b) { ... }
I am seeing the same effect here. Thank you for the clear description.
case=11242
Do you have a lot of code like this? Or does this only happen occasionally?
Copying the comment that gets deleted, so that it will show up in VA's CTRL-SHIFT-V paste menu should help a bit, so that it is easy to re-add after using Change Signature
Thanks for your answer. To your question: Yes, I have a lot of a code like this, because I use comments between function declaration and body very often. And it happens it every such a case.
I have put this down as a high priority bug fix, but unfortunately I am not sure when it will be fixed.
You may find using CTRL-X and then CTRL-V to cut and paste just the function signature line to below the comment before running Change Signature helps.