[PATCH] [Statepoints][NFC] Constify accessors on Statepoint.
Philip Reames
listmail at philipreames.com
Fri Jun 26 11:31:07 PDT 2015
Returning a pointer to a non-const component of the underlying call from
a const function seems deceptive.
ValueTy *getActualCallee() const {
I'm open to being convinced that's reasonable, but I'd prefer to see
those left non-const or overrides which return pointers-to-const added.
Philip
On 06/25/2015 05:51 PM, Sanjoy Das wrote:
> http://reviews.llvm.org/D10755
>
> Files:
> include/llvm/IR/Statepoint.h
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150626/61e4874f/attachment.html>
More information about the llvm-commits
mailing list