[cfe-commits] r100689 - in /cfe/trunk: docs/UsersManual.html include/clang/Driver/Options.td lib/Driver/Tools.cpp

Daniel Dunbar daniel at zuster.org
Wed Apr 7 22:32:17 PDT 2010


On Wed, Apr 7, 2010 at 7:34 PM, Chris Lattner <sabre at nondot.org> wrote:
>
> On Apr 7, 2010, at 7:31 PM, Daniel Dunbar wrote:
>
>>>
>>> $ clang foo.c
>>> <tons of crap>
>>> foo.c:102:3: error: unknown type name 'somethingbad'
>>>  somethingbad x;
>>>  ^
>>> fatal error: too many errors emitted, stopping now
>>> 36 warnings and 20 errors generated.
>>
>> Would it make sense for this to say something like
>>  36 warnings and 20 (of 33 total) errors generated.
>
> That would be somewhat nice, fatal errors can stop compilation early as well in theory.  Getting a total count isn't really feasible, and I don't really think it's useful.

Ah, ok, I guess I thought we were already had the info available.

 - Daniel

> -Chris




More information about the cfe-commits mailing list