llvm-project/clang/tools
Sam McCall bb2cf63b32 [CodeComplete] Add an option to omit results from the preamble.
Summary:
Enumerating the contents of a namespace or global scope will omit any
decls that aren't already loaded, instead of deserializing them from the
PCH.

This allows a fast hybrid code completion where symbols from headers are
provided by an external index. (Sema already exposes the information
needed to do a reasonabl job of filtering them).
Clangd plans to implement this hybrid.

This option is just a hint - callers still need to postfilter results if
they want to *avoid* completing decls outside the main file.

Reviewers: bkramer, ilya-biryukov

Subscribers: cfe-commits

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

llvm-svn: 322371
2018-01-12 14:51:47 +00:00
..
arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [CodeComplete] Add an option to omit results from the preamble. 2018-01-12 14:51:47 +00:00
clang-check [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-diff [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-format [CMake] Use PRIVATE in target_link_libraries for fuzzers. 2017-12-06 19:52:40 +00:00
clang-format-vs clang-format plugin: Add missing NL (new line) at EOF (end of file) 2017-09-22 21:47:39 +00:00
clang-func-mapping [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-fuzzer [CMake] Use PRIVATE in target_link_libraries for fuzzers. 2017-12-06 19:52:40 +00:00
clang-import-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-offload-bundler [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-refactor [cmake] Delete redundant install command for clang-refactor. 2018-01-10 01:00:28 +00:00
clang-rename [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
diag-build
diagtool [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
driver Update clang cc1as for createMCAsmBackend change in r321692 2018-01-03 08:53:24 +00:00
libclang [CodeComplete] Add an option to omit results from the preamble. 2018-01-12 14:51:47 +00:00
scan-build [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
scan-build-py [scan-build-py] Patch to fix "-analyzer-config" option 2017-07-19 00:29:41 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00