[llvm-dev] arg_iterator missing inc/dec operators
Dmitry Babokin via llvm-dev
llvm-dev at lists.llvm.org
Wed Mar 22 11:58:45 PDT 2017
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 function.
Dmitry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170322/ccf96cef/attachment.html>
More information about the llvm-dev
mailing list