[LLVMbugs] [Bug 12951] clang produces namespace typo corrections when multiple candidates are available

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 1 11:13:30 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Kaelyn Uhrain <rikka at google.com> 2012-06-01 13:13:30 CDT ---
As of r157823, clang now produces for your example:

<stdin>:1:83: error: unknown type name 'Thing'
namespace foobar { struct Thing; } namespace bazquux { struct Thing; } void f()
{ Thing t; }
                                                                               
  ^
1 error generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list