[LLVMbugs] [Bug 16775] lvalue could not be a null pointer constant

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 2 11:22:48 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16775

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The code in comment#0 is valid in C++98. The initializer can be converted to
type void* by a standard conversion sequence consisting of an lvalue-to-rvalue
conversion followed by a null pointer conversion.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130802/fc276136/attachment.html>


More information about the llvm-bugs mailing list