Skip to content

Commit

Permalink
feat: Add language definition for tablegen.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ingomueller-net authored and github-actions[bot] committed Nov 13, 2024
1 parent c40e51b commit 83697cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions verify-spdx-headers
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Index:
'.hpp': 'c++',
'.cc': 'c++',
'.hh': 'c++',
'.td': 'tablegen',
'.ts': 'typescript',
'.sh': 'shell',
}
Expand All @@ -71,6 +72,7 @@ class Index:
'c++': Language('//+', ('/\\*', '\\*/')),
'rust': Language('//+', '//!', ('/\\*', '\\*/')),
'protobuf': Language('//+', '//!', ('/\\*', '\\*/')),
'tablegen': Language('//+'),
'typescript': Language('//+', ('/\\*', '\\*/'), shebang=True),
'shell': Language('#+', shebang=True),
}
Expand Down

0 comments on commit 83697cf

Please sign in to comment.