diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-05-05 05:53:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-05-05 05:53:24 +0000 |
| commit | 86ed5b016a8303a2dcc8a97f89d1dbb1e12ab108 (patch) | |
| tree | 832d1e5ea2d26c01d614a2217c05e8a9ad51c712 /clang/lib/Sema/SemaChecking.cpp | |
| parent | 94f9a4820a90782569a8c4f8577e01bee87204a5 (diff) | |
| download | bcm5719-llvm-86ed5b016a8303a2dcc8a97f89d1dbb1e12ab108.tar.gz bcm5719-llvm-86ed5b016a8303a2dcc8a97f89d1dbb1e12ab108.zip | |
add a new --print-diagnostic-categories option, which causes the driver to
print out all of the category numbers with their description. This is useful
for clients that want to map the numbers produced by
--fdiagnostics-show-category=id to their human readable string form. The
output is simple but utilitarian:
$ clang --print-diagnostic-categories
1,Format String
2,Something Else
This implements rdar://7928193
llvm-svn: 103080
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions

