[llvm-dev] Can I delete a function argument and its corresponding code from a file

MIRIYALA JEEVAN KUMAR via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 4 01:54:52 PST 2020


I have a following sample function in a file which contains only function
definitions like this.

void mul(int x, int y, int& out, *int* arr*) {
 * arr[0] = 2;*
*  arr[1] = 1;*
  out = x * y;
}

I want to convert it to
void mul(int x, int y, int& out) {
  out = x * y;
}

file contains only above function definitions.

-- 
Thanks & Regards
Jeevan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200204/011bd9ba/attachment.html>


More information about the llvm-dev mailing list