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

Nick Lewycky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #3 from Nick Lewycky <[email protected]> ---
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to