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

Chris Lattner clattner at apple.com
Thu Apr 8 09:59:40 PDT 2010


>>>> 
>>>> 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.
>>>> 
>>> 
>>> Don't fatal errors just suppress the emission of diagnostics, and not stop compilation?
>> 
>> In general yes, but the compiler can try to stop early, for example in the top-level translation unit parsing loop.
> 
> Is this implemented?  It sounds like it could improve delta performance.

No, but it would be reasonable to add to Parser::ParseTranslationUnit

-Chris



More information about the cfe-commits mailing list