This is an archive of the discontinued LLVM Phabricator instance.

[mlir:LSP] Add support for keyword code completions
ClosedPublic

Authored by rriddle on Jul 6 2022, 3:35 AM.

Details

Summary

This commit adds code completion results to the MLIR LSP when
parsing keywords. Keyword support is currently limited to the
case where the expected keyword is provided, but a followup will
work on expanding the set of keyword cases we handle (e.g. to
allow capturing attribute/type mnemonics).

Diff Detail

Event Timeline

rriddle created this revision.Jul 6 2022, 3:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2022, 3:35 AM
rriddle requested review of this revision.Jul 6 2022, 3:35 AM
jpienaar accepted this revision.Jul 8 2022, 10:24 AM

Thanks (sorry missed this one yesterday)

This revision is now accepted and ready to land.Jul 8 2022, 10:24 AM
This revision was automatically updated to reflect the committed changes.