[mlir:PDLL] Fix signature help for operation operands
authorRiver Riddle <riddleriver@gmail.com>
Sat, 30 Apr 2022 07:32:24 +0000 (00:32 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 31 May 2022 00:35:34 +0000 (17:35 -0700)
commit0429472efe6a894a6554d75fd77baeb9cdb32dd5
tree6a49547592c974f2946302a786ae27d627a841b2
parent01652d889cf31708bc7ebbf18ef0a4d925112bc7
[mlir:PDLL] Fix signature help for operation operands

We were currently only completing on the first operand because
the completion check was outside of the parse loop.

Differential Revision: https://reviews.llvm.org/D124784
mlir/lib/Tools/PDLL/Parser/Parser.cpp
mlir/test/mlir-pdll-lsp-server/include/included.td
mlir/test/mlir-pdll-lsp-server/signature-help.test