[all-commits] [llvm/llvm-project] 11bda1: [mlir-lsp] Parse outgoing request callback JSON (#...
Brian Gesiak via All-commits
all-commits at lists.llvm.org
Thu May 2 06:02:35 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11bda17254d00cde5b84585f7c7a870d6793ad92
https://github.com/llvm/llvm-project/commit/11bda17254d00cde5b84585f7c7a870d6793ad92
Author: Brian Gesiak <brian at modocache.io>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/include/mlir/Tools/lsp-server-support/Transport.h
M mlir/unittests/Tools/lsp-server-support/Transport.cpp
Log Message:
-----------
[mlir-lsp] Parse outgoing request callback JSON (#90693)
Rather than force callbacks for outgoing requests to parse the result
JSON themselves (of type `llvm::Expected<llvm::json::Value>`), allow
users to specify the result type, which
`MessageHandler::outgoingRequest` will parse for them. This eliminates
boilerplate for users sending outgoing requests.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list