summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticCommonKinds.td
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2018-08-22 09:20:39 +0000
committerSimon Tatham <simon.tatham@arm.com>2018-08-22 09:20:39 +0000
commit30d47f64ecab950181d18655e543bad3520ce72b (patch)
tree80e42bd4d455cf3212ba00e3203c873cc296914c /include/clang/Basic/DiagnosticCommonKinds.td
parentf30eaa88efc55f80533a56b2739634b06ea405d7 (diff)
[clang-tblgen] Add -print-records and -dump-json modes.
Currently, if clang-tblgen is run without a mode option, it defaults to the first mode in its 'enum Action', which happens to be -gen-clang-attr-classes. I think it makes more sense for it to behave the same way as llvm-tblgen, i.e. print a diagnostic dump if it's not given any more specific instructions. I've also added the same -dump-json that llvm-tblgen supports. This means any tblgen command line (whether llvm- or clang-) can be mechanically turned into one that processes the same input into JSON. Reviewers: nhaehnle Reviewed By: nhaehnle Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50771 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticCommonKinds.td')
0 files changed, 0 insertions, 0 deletions