arsenm added a comment.

In D81311#2078235 <https://reviews.llvm.org/D81311#2078235>, @rjmccall wrote:

> I wonder if `byref` would be a better name for this, as a way to say that the 
> object is semantically a direct argument that's being passed by implicit 
> reference.


This is probably a better name, but potentially more easily confused with byval.

As far as switching to just the raw number, I think there's value in being 
consistent with the other growing family of type-carrying parameter attributes 
but I don't really care about the type itself. I don't understand 
inalloca/preallocated well enough to know if those should also really only 
carry a size.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81311/new/

https://reviews.llvm.org/D81311



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to