summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commitb092da8c95885cf86edcc1bc7679c5f8fd353e8b (patch)
tree71320fc62130e3f7a5e0c70ab2d9747891e83b85 /clang/lib
parentd764c1b656321d8742ab0436c26e8a160929d847 (diff)
downloadbcm5719-llvm-b092da8c95885cf86edcc1bc7679c5f8fd353e8b.tar.gz
bcm5719-llvm-b092da8c95885cf86edcc1bc7679c5f8fd353e8b.zip
[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 llvm-svn: 340390
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud