llvm-project/clang-tools-extra/unittests
Eric Liu 485074f987 [clangd] Ignore sema code complete callback with recovery context.
Summary:
Sema code complete in the recovery mode is generally useless. For many
cases, sema first completes in recovery context and then recovers to more useful
context, in which it's favorable to ignore results from recovery (as results are
often bad e.g. all builtin symbols and top-level symbols). There is also case
where only sema would fail to recover e.g. completions in excluded #if block.
Sema would try to give results, but the results are often useless (see the updated
excluded #if block test).

Reviewers: sammccall, ilya-biryukov

Subscribers: MaskRay, jkorous, cfe-commits

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

llvm-svn: 336801
2018-07-11 13:15:31 +00:00
..
change-namespace [change-namespace] Don't match a function call/ref multiple times. 2018-03-15 14:45:02 +00:00
clang-apply-replacements [clang-apply-replacements] Convert tooling::Replacements to tooling::AtomicChange for conflict resolving of changes, code cleanup, and code formatting. 2018-04-11 14:39:17 +00:00
clang-move [clang-move] ClangMoveTests: Remove dots in output paths 2018-07-05 14:53:17 +00:00
clang-query [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-tidy Remove explicit type from an initializer list. NFC. 2018-06-28 12:18:42 +00:00
clangd [clangd] Ignore sema code complete callback with recovery context. 2018-07-11 13:15:31 +00:00
include/common Remove clang-modernize. 2015-12-17 11:49:19 +00:00
include-fixer Fix tests after changes to clang-format in r330573. 2018-04-23 11:47:59 +00:00
CMakeLists.txt [cmake] Include LLVMTestingSupport when doing stand-alone build 2018-04-09 17:08:14 +00:00