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 | c3d26cc4eea5187ce13ed180b479ff8ef41015a7 (patch) | |
tree | f730c05d1009875274bad7309acab9ba9f4135a6 /lib/CodeGen/Mangle.cpp | |
parent | fb8cc253420e93cee33d29df5a2bdae6aaf16e39 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
0 files changed, 0 insertions, 0 deletions