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 | 8ea841b1152308ae11c23a7836dead36e47d96e3 (patch) | |
tree | 1026d0035ae866a5702da537da94d031e4ad42a2 /lib/Analysis/MemRegion.cpp | |
parent | a43484afda4c4fb4b23a53a2dc91d985d39dc2c4 (diff) |
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 :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemRegion.cpp')
0 files changed, 0 insertions, 0 deletions