You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
JoeBuddha
Posted - Dec 12 2007 : 8:25:06 PM How about an Unfactor button: Take a function call and replace it with the code. I've had occasions when I wished I hadn't factored out a function, and wished I could replace the call with the code. Maybe with a "remove function" option...
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Dec 13 2007 : 3:20:35 PM We are considering a form of this which would expand / remove a macro:
case=5160
The problem with removing a function call is that some functions are quite complex. Even simple functions often introduce local variables, and then you have the problem of duplicate variable names if the same variable exists in the current code.
I am not sure how useful this would really be. If you have very short functions what about making them inline functions? The compiler may then remove them for you.