diff options
author | Philipp Stephani <phst@google.com> | 2018-04-09 13:31:44 +0000 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2018-04-09 13:31:44 +0000 |
commit | f8ff2ef9662f79ebff2ab8e25097eac094c19667 (patch) | |
tree | f9c1b86199027ccd1897808cf47d68c5ea464d19 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | abf36113322fc7707acdbb612e6823be9f09dd9b (diff) | |
download | llvm-f8ff2ef9662f79ebff2ab8e25097eac094c19667.zip llvm-f8ff2ef9662f79ebff2ab8e25097eac094c19667.tar.gz llvm-f8ff2ef9662f79ebff2ab8e25097eac094c19667.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions