[llvm-bugs] [Bug 8673] poor error recovery on incorrect type name in method argument

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 21 18:46:03 PST 2016


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

Chandler Carruth <chandlerc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chandlerc at gmail.com
         Resolution|---                         |FIXED

--- Comment #1 from Chandler Carruth <chandlerc at gmail.com> ---
This bug is ancient. Not sure when it got fixed but it did:

% cat PR8673.cpp 
class ABC;
class foo {
  void bar(ABC *X);
};
void foo::bar(DEF *X) {}

% clang++ PR8673.cpp
PR8673.cpp:5:15: error: unknown type name 'DEF'
void foo::bar(DEF *X) {}
              ^
1 error 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/20161122/cf4df4eb/attachment.html>


More information about the llvm-bugs mailing list