[llvm-commits] [llvm] r155012 - in /llvm/trunk: include/llvm/TableGen/Error.h lib/TableGen/Error.cpp

Jim Grosbach grosbach at apple.com
Wed Apr 18 11:11:10 PDT 2012


On Apr 18, 2012, at 11:03 AM, Jakob Stoklund Olesen wrote:

> 
> On Apr 18, 2012, at 10:46 AM, Jim Grosbach <grosbach at apple.com> wrote:
> 
>> Author: grosbach
>> Date: Wed Apr 18 12:46:31 2012
>> New Revision: 155012
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=155012&view=rev
>> Log:
>> TableGen add warning diagnostic helper functions.
> 
> Nice.
> 
>> +void PrintWarning(const Twine &Msg) {
>> +  errs() << "error:" << Msg << "\n";
>> +}
> 
> s/error:/warning:/

Doh! Fixed.

> 
> It is tempting to also add support for -Werror.
> 

Indeed. No reason it's not there that I can think of beyond, "nobody has added it yet."

-Jim



More information about the llvm-commits mailing list