Go to file
Sam McCall 27c979ace0 [clangd] codeComplete returns more structured completion items, LSP. NFC.
Summary:
LSP has some presentational fields with limited semantics (e.g. 'detail') and
doesn't provide a good place to return information like namespace.

Some places where more detailed information is useful:
 - tools like quality analysis
 - alternate frontends that aren't strictly LSP
 - code completion unit tests

In this patch, ClangdServer::codeComplete still return LSP CompletionList, but
I plan to switch that soon (should be a no-op for ClangdLSPServer).

Deferring this makes it clear that we don't change behavior (tests stay the
same) and also keeps the API break to a small patch which can be reverted.

Reviewers: ioeric

Subscribers: ilya-biryukov, MaskRay, cfe-commits, jkorous

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

llvm-svn: 335980
2018-06-29 14:47:57 +00:00
clang [clang-format] Support additional common functions for text proto formatting 2018-06-29 14:25:25 +00:00
clang-tools-extra [clangd] codeComplete returns more structured completion items, LSP. NFC. 2018-06-29 14:47:57 +00:00
compiler-rt [cfi] Reset i-cache after copying code in test. 2018-06-29 00:38:26 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx Configure ELAST for MinGW 2018-06-28 20:16:45 +00:00
libcxxabi Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
libunwind Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
lld [ELF] - Linker script: add tests for checking malformed numbers parsing. 2018-06-29 14:29:44 +00:00
lldb Add a test for reading lld-generated build-ids 2018-06-29 12:15:54 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [llvm-mca] Remove field HasReadAdvanceEntries from class ReadDescriptor. 2018-06-29 14:24:46 +00:00
openmp [OPENMP, NVPTX] Fixes for NVPTX RTL 2018-06-25 13:43:35 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Use range for in normalizeValInst [NFCI] 2018-06-29 13:06:44 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.