[PATCH] D124077: [mlir][PDLL] Add document link and hover support to mlir-pdll-lsp-server

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 02:18:18 PDT 2022


rriddle created this revision.
Herald added subscribers: sdasgup3, wenzhicui, wrengr, Chia-hungDuan, dcaballe, cota, teijeong, dexonsmith, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, mehdi_amini, usaxena95, kadircet, bollu.
Herald added a project: All.
rriddle requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache, ilya-biryukov.
Herald added projects: MLIR, LLVM.

This allows for navigating to included files on click, and also provides hover
information about the include file (similarly to clangd).

Depends on D124076 <https://reviews.llvm.org/D124076>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124077

Files:
  llvm/include/llvm/Support/SourceMgr.h
  mlir/lib/Tools/PDLL/Parser/Lexer.cpp
  mlir/lib/Tools/PDLL/Parser/Lexer.h
  mlir/lib/Tools/PDLL/Parser/Parser.cpp
  mlir/lib/Tools/lsp-server-support/Protocol.cpp
  mlir/lib/Tools/lsp-server-support/Protocol.h
  mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
  mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
  mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h
  mlir/test/mlir-pdll-lsp-server/document-links.test
  mlir/test/mlir-pdll-lsp-server/hover.test
  mlir/test/mlir-pdll-lsp-server/include/included.pdll
  mlir/test/mlir-pdll-lsp-server/include/included.td
  mlir/test/mlir-pdll-lsp-server/initialize-params.test
  mlir/test/mlir-pdll-lsp-server/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124077.423849.patch
Type: text/x-patch
Size: 23931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220420/21ddb3bd/attachment.bin>


More information about the llvm-commits mailing list