[LLVMdev] Correct way to access Function ArgumentList?
jared.carlson23 at gmail.com
Sat Dec 13 12:11:51 PST 2014
I’m working with Mac OS X 10.10, and everything seems generally fine but when I started working on a FunctionPass I get the following:
error: call to deleted constructor of
'Function::ArgumentListType' (aka 'iplist<llvm::Argument>')
Function::ArgumentListType argList = f.getArgumentList();
Any pointers as to the correct way access the Arguments of a Function object? From what I saw on the docs it seems like this ought to work...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev