Skip to content
Commit e2170edf authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent fb87e308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment