I want to write a refactor tool, where I want to move the function at the cursor(cursor is in the function name) to the source file. I found the FunctionMover.cc in https://github.com/lanl/CoARCT which is a good starting point to move the function. However, I cannot find anything how to get the symbol (i.e. in my ..
I’ve been trying without success to create a regex that I can use to refactor a bunch of calls to 2 functions with a fixed, 6 argument signature like this: logger_4args_A(FlagsA|FlagsB,"This is %s message %d",someString(n*2),some_Goofy->number.thing(),0,0); logger_4args_B(FlagsC, "No args passed here, only 0 defaults",0,0,0,0); into a variadic invocation of 2 new functions like this: newLogA(FlagsA|FlagsB,"This is ..