hanchenye-llvm-project/clang-tools-extra/include-fixer
Philipp Stephani f8ff2ef966 Improve completion experience for headers
Summary: When calling `completing-read', we should provide a default to prevent the behavior described in https://github.com/DarwinAwardWinner/ido-completing-read-plus#why-does-ret-sometimes-not-select-the-first-completion-on-the-list--why-is-there-an-empty-entry-at-the-beginning-of-the-completion-list--what-happened-to-old-style-default-selection.  Also, don't use an assertion to check whether the user selected a header; raise a proper signal instead.

Reviewers: klimek

Reviewed By: klimek

Subscribers: cfe-commits

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

llvm-svn: 329566
2018-04-09 13:31:44 +00:00
..
find-all-symbols Revert "[Tooling] [1/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:41 +00:00
plugin
tool Improve completion experience for headers 2018-04-09 13:31:44 +00:00
CMakeLists.txt
FuzzySymbolIndex.cpp
FuzzySymbolIndex.h
InMemorySymbolIndex.cpp
InMemorySymbolIndex.h
IncludeFixer.cpp
IncludeFixer.h
IncludeFixerContext.cpp
IncludeFixerContext.h
SymbolIndex.h
SymbolIndexManager.cpp
SymbolIndexManager.h
YamlSymbolIndex.cpp
YamlSymbolIndex.h