From 83697cf00cd75e190c0480b91ae209a338b8ccc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20M=C3=BCller?= Date: Mon, 28 Oct 2024 11:22:19 +0000 Subject: [PATCH] feat: Add language definition for `tablegen`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This language is used by LLVM and MLIR for declaratively defining their IR (see [documentation](https://llvm.org/docs/TableGen/index.html)). Signed-off-by: Ingo Müller --- verify-spdx-headers | 2 ++ 1 file changed, 2 insertions(+) diff --git a/verify-spdx-headers b/verify-spdx-headers index 21560ed..71ac001 100755 --- a/verify-spdx-headers +++ b/verify-spdx-headers @@ -59,6 +59,7 @@ class Index: '.hpp': 'c++', '.cc': 'c++', '.hh': 'c++', + '.td': 'tablegen', '.ts': 'typescript', '.sh': 'shell', } @@ -71,6 +72,7 @@ class Index: 'c++': Language('//+', ('/\\*', '\\*/')), 'rust': Language('//+', '//!', ('/\\*', '\\*/')), 'protobuf': Language('//+', '//!', ('/\\*', '\\*/')), + 'tablegen': Language('//+'), 'typescript': Language('//+', ('/\\*', '\\*/'), shebang=True), 'shell': Language('#+', shebang=True), }