[LLVMbugs] [Bug 5923] extra diagnostic emitted after type error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 21 17:05:09 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rikka at google.com
         Resolution|                            |FIXED

--- Comment #2 from Kaelyn Uhrain <rikka at google.com> 2012-06-21 19:05:09 CDT ---
At ToT (r158931) clang does not have the extra error, though the 3.1 release
does have it:

$ cat tmp.cc 
int foo() {
  foo_t X = 3;
  return X;
}

$ ./bin/clang -fsyntax-only tmp.cc 
tmp.cc:2:5: error: unknown type name 'foo_t'
    foo_t X = 3;
    ^
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