diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2021-01-22 15:20:52 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2021-01-27 15:51:33 +0100 |
commit | af20232b8e189335da571f48c2467b244b7fd772 (patch) | |
tree | 438dda6093e834fdb2fb2c4b59e0d0ece0b7d724 /llvm/lib/Bitcode | |
parent | 1e59c1a89851534f162d5ada9fb61796710e4de5 (diff) | |
download | llvm-af20232b8e189335da571f48c2467b244b7fd772.zip llvm-af20232b8e189335da571f48c2467b244b7fd772.tar.gz llvm-af20232b8e189335da571f48c2467b244b7fd772.tar.bz2 |
[clangd] Treat "null" optional fields as missing
Clangd currently throws away any protocol messages whenever an optional
field has an unexpected type. This patch changes the behaviour to treat
`null` fields as missing.
This enables clangd to be more tolerant against small violations to the
LSP spec.
Fixes https://github.com/clangd/vscode-clangd/issues/134
Differential Revision: https://reviews.llvm.org/D95229
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions