Add (hidden) TableGen command option '-clang-component' which specifies the
authorTed Kremenek <kremenek@apple.com>
Fri, 13 Mar 2009 22:53:41 +0000 (22:53 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 13 Mar 2009 22:53:41 +0000 (22:53 +0000)
commit557f7f88ba686886278f83159b7a629c24a47176
tree09cd2599390ad33eed6bac86dab9b3153f9c4622
parent04a847e70616cba0208c654729736a9d8f4047ac
Add (hidden) TableGen command option '-clang-component' which specifies the
component's warnings to process for '-gen-clang-diags-defs'.

Also, when the component is specified, generate a '#if' prologue at the top of
the generated .def file (to match the current files).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66975 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/ClangDiagnosticsEmitter.cpp
utils/TableGen/ClangDiagnosticsEmitter.h
utils/TableGen/TableGen.cpp