[LLVMbugs] [Bug 19968] clang segfaults when parsing illegal c++
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 6 17:44:14 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19968
Nick Lewycky <nlewycky at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nlewycky at google.com
Resolution|--- |FIXED
--- Comment #1 from Nick Lewycky <nlewycky at google.com> ---
I fixed the crash in r210388.
Mind you, we now emit:
$ clang pr19968.cc
pr19968.cc:1:28: error: expected parameter declarator
inline void* operator new (.::size_t) {
^
pr19968.cc:1:28: error: expected ')'
pr19968.cc:1:27: note: to match this '('
inline void* operator new (.::size_t) {
^
pr19968.cc:1:14: error: 'operator new' must have at least one parameter
inline void* operator new (.::size_t) {
^
pr19968.cc:1:40: error: expected '}'
inline void* operator new (.::size_t) {
^
pr19968.cc:1:39: note: to match this '{'
inline void* operator new (.::size_t) {
^
4 errors generated.
which is pretty lousy, but that's a different issue.
--
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/20140607/9e2f3953/attachment.html>
More information about the llvm-bugs
mailing list