[LLVMbugs] [Bug 22672] Parser crash on typo-corrected code
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 23 22:10:47 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22672
Nick Lewycky <nlewycky at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nlewycky at google.com
Resolution|--- |FIXED
--- Comment #3 from Nick Lewycky <nlewycky at google.com> ---
r223108 was right after we switched on a new way of dealing with typos and
before we fixed all the crashes in it (around the r224xxx series). Please
update your clang.
With r230303 I get no crash, and see this:
pr22672.cc:14:3: error: use of undeclared identifier 'myfield_'; did you mean
'myfield'?
myfield_->foo();
^~~~~~~~
myfield
pr22672.cc:9:12: note: 'myfield' declared here
MyClass* myfield() const;
^
pr22672.cc:14:3: error: reference to non-static member function must be called;
did you mean to call it with no arguments?
myfield_->foo();
^~~~~~~~
()
pr22672.cc:15:11: error: use of undeclared identifier 'myfield_'
int x = myfield_->bar();
^
3 errors generated.
--
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/20150224/0f040cd9/attachment.html>
More information about the llvm-bugs
mailing list