This was carry over from LLVM IR where the alias definition can
be ambiguous, but MLIR type aliases have no such problems.
Having the type keyword is superfluous and doesn't add anything.
This commit drops it, which also nicely aligns with the syntax for
attribute aliases (which doesn't have a keyword).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/utils/tree-sitter-mlir/grammar.js | ||
---|---|---|
10–13 | Looks like clang-format got a little trigger happy here, will revert the unrelated changes. |
Looks like clang-format got a little trigger happy here, will revert the unrelated changes.