[PATCH] D42164: [clangd] Don't crash on LSP calls for non-added files

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 04:30:27 PST 2018


ilya-biryukov updated this revision to Diff 130127.
ilya-biryukov added a comment.

- Do the check in rename before calling into ClangdServer


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D42164

Files:
  clangd/ClangdLSPServer.cpp
  clangd/ClangdServer.cpp
  clangd/ClangdServer.h
  test/clangd/crash-non-added-files.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42164.130127.patch
Type: text/x-patch
Size: 9225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180117/87a5c91b/attachment.bin>


More information about the cfe-commits mailing list