From ca593328f307df65480d79a2cf97abda0ca5acad Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Wed, 18 Jul 2018 18:35:27 +0000 Subject: [PATCH] Add (very partial) Kate syntax highlighting definition for TableGen This is very clearly not very good, and is very partial. But this is better than nothing at all, and shouldn't hurt those who don't need it. If there are others interested in this functionality, it will be great to further improve this. {F6253091} Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D47080 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337415 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/kate/llvm-tablegen.xml | 134 +++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 utils/kate/llvm-tablegen.xml diff --git a/utils/kate/llvm-tablegen.xml b/utils/kate/llvm-tablegen.xml new file mode 100644 index 00000000000..ccca1d3cf14 --- /dev/null +++ b/utils/kate/llvm-tablegen.xml @@ -0,0 +1,134 @@ + + + + + + foreach + field + + + in + + + !eq + !if + !head + !tail + !con + !add + !shl + !sra + !srl + !and + !or + !empty + !subst + !foreach + !strconcat + !cast + !listconcat + !size + !foldl + !isa + !dag + !le + !lt + !ge + !gt + !ne + + + class + def + defm + defset + let + multiclass + + + class + def + defm + defset + multiclass + + + let + + + string + code + bit + int + dag + bits + list + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.50.1