search for: 3ffca78c

Displaying 2 results from an estimated 2 matches for "3ffca78c".

2017 Mar 22
3
arg_iterator missing inc/dec operators
Reid, After your recent redefinition of arg_iterator, it's missing increment/decrement operators (which people typically expect to be defined for iterators). So some external code relying on this is broken. If it's not intentional, would be nice to have it fixed. Specific code that I is broken looks like this: llvm::Function f; foo(--f->arg_end()); // passing the last argument to the
2017 Mar 22
2
arg_iterator missing inc/dec operators
...e/llvm/IR/Function.h#L57 I get an error when I'm using pre-decrement operator: error: expression is not assignable --f->arg_end(); Dmitry. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170322/3ffca78c/attachment.html>