diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-23 01:20:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-23 01:20:39 +0000 |
commit | e2170edfbb593cf143995f3104115c23008af174 (patch) | |
tree | da4599b1a33feb2f36442ac701b81b9de4bb1698 /clang/test/CodeGen/functions.c | |
parent | fb87e308150f079bb602199d661b10d736b9dc55 (diff) | |
download | bcm5719-llvm-e2170edfbb593cf143995f3104115c23008af174.tar.gz bcm5719-llvm-e2170edfbb593cf143995f3104115c23008af174.zip |
switch Warnings.cpp to use the diagnostics machinery to print diagnostics, not *fprintf*!
Among other things, this makes the warning about unknown warning options mappable.
For example:
$ clang t.c -Werror -Wfoo
error: unknown warning option '-Wfoo' [-Wunknown-warning-option]
For another thing, they are properly color coded now too :)
llvm-svn: 73936
Diffstat (limited to 'clang/test/CodeGen/functions.c')
0 files changed, 0 insertions, 0 deletions