[LLVMbugs] [Bug 19244] -Wvla-extension warning incorrectly generated

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 25 15:50:35 PDT 2014


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

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 #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
(In reply to comment #0)
> In the following minimal example, f() incorrectly causes a warning, while
> g() and h() correctly do not.

Clang is correct. 'this->x' is not a constant expression, per C++11 5.19/2
bullet 1.

-- 
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/20140325/7c86e843/attachment.html>


More information about the llvm-bugs mailing list