From: Roman Lebedev Date: Wed, 18 Jul 2018 18:35:27 +0000 (+0000) Subject: Add (very partial) Kate syntax highlighting definition for TableGen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca593328f307df65480d79a2cf97abda0ca5acad;p=llvm 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 --- 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +