[llvm-bugs] [Bug 48331] CV qualifiers are incorrectly stripped from the type of void prvalues

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 29 18:31:42 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48331

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is an ICC bug. See [expr.type]p2:

"If a prvalue initially has the type “cv T”, where T is a cv-unqualified
non-class, non-array type, the type of the expression is adjusted to T prior to
any further analysis."

-- 
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/20201130/c6f3b82f/attachment.html>


More information about the llvm-bugs mailing list