[llvm-commits] [llvm] r168963 - in /llvm/trunk/include/llvm: ADT/Optional.h Support/Compiler.h

Jordan Rose jordan_rose at apple.com
Fri Nov 30 16:43:06 PST 2012


On Nov 30, 2012, at 16:40 , Sean Silva <silvas at purdue.edu> wrote:

> Aren't these thingies called "ref-qualifier"s? Maybe the macro could
> be called LLVM_LVALUE_REF_QUALIFER? I find LLVM_LVALUE_FUNCTION a bit
> opaque. Also, is it even legal to apply a ref-qualifier to just any
> function? I was under the impression that it needed to be a
> (non-static) member function, so just FUNCTION seems a bit misleading.

Hm. I was going off of LLVM_DELETED_FUNCTION, but of course "= delete" can go anywhere. I'm happy for this to be renamed; don't think anyone else cares. (It is already in use on the Clang side if you want to change it.)

Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121130/b5ea2d38/attachment.html>


More information about the llvm-commits mailing list