[TableGen] Update editor modes for new keywords.
authorSimon Tatham <simon.tatham@arm.com>
Tue, 14 Jan 2020 13:12:16 +0000 (13:12 +0000)
committerSimon Tatham <simon.tatham@arm.com>
Tue, 14 Jan 2020 13:39:00 +0000 (13:39 +0000)
commite3ed63e83ab6194aaf6711b97bdf09f16dcf2401
treebd1bfdc4b91d17b802d51a4f379a8f3c76e89e44
parent3f944a8b8ca895667f04748f62d350f07ee1416b
[TableGen] Update editor modes for new keywords.

Summary:
D71407 and D71474 added new keywords to the Tablegen language:
`defvar`, `if`, `then` and `else`. This commit updates the various
editor modes to highlight them appropriately.

Some of the modes also didn't include `defset`, so I've added that too
while I was there.

Reviewers: MaskRay, lebedev.ri, plotfi

Reviewed By: lebedev.ri

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72693
llvm/utils/emacs/tablegen-mode.el
llvm/utils/kate/llvm-tablegen.xml
llvm/utils/vim/syntax/tablegen.vim
llvm/utils/vscode/tablegen/syntaxes/TableGen.tmLanguage