[LLVMdev] Correct way to access Function ArgumentList?

Jared Carlson jared.carlson23 at gmail.com
Sat Dec 13 12:11:51 PST 2014

Hey All,

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...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141213/18be4540/attachment.html>

More information about the llvm-dev mailing list