llvm-project/clang-tools-extra/test
Ilya Biryukov 261c72e8f9 [clangd] Don't crash on LSP calls for non-added files
Summary:
We will return errors for non-added files for now.
Another alternative for clangd would be to read non-added files from
disk and provide useful features anyway.

There are still some cases that fail with assertion (e.g., code
complete). We should address those too, but they require more subtle
changes to the code and therefore out of scope of this patch.

Reviewers: sammccall, ioeric, hokein

Reviewed By: sammccall

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D42164

llvm-svn: 322637
2018-01-17 12:30:24 +00:00
..
Unit Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
change-namespace [change-namepsace] make it possible to whitelist symbols so they don't get updated. 2017-02-24 11:54:45 +00:00
clang-apply-replacements Avoid assumption that lit tests are writable. NFC 2018-01-08 15:49:40 +00:00
clang-move Avoid assumption that lit tests are writable. NFC 2018-01-08 15:49:40 +00:00
clang-query
clang-reorder-fields [clang-reorder-fields] Emit warning when reordering breaks member init list dependencies 2017-07-30 06:43:03 +00:00
clang-tidy [clang-tidy] implement check for goto 2018-01-17 10:27:41 +00:00
clangd [clangd] Don't crash on LSP calls for non-added files 2018-01-17 12:30:24 +00:00
include-fixer [cmake] Support running extra clang tool tests without static analyzer 2017-08-29 05:58:08 +00:00
modularize Fixed some cases in the modularize assistant mode where header file names didn't translate to valid module names. 2016-03-21 23:05:14 +00:00
pp-trace Revert 318668, which is associated with a broken patch 2017-11-20 22:10:28 +00:00
.clang-format
CMakeLists.txt [clangd] Add a tool to build YAML-format global symbols. 2017-12-22 14:38:05 +00:00
lit.cfg Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
lit.site.cfg.in [cmake] Support running extra clang tool tests without static analyzer 2017-08-29 05:58:08 +00:00