aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2018-04-09 13:31:44 +0000
committerPhilipp Stephani <phst@google.com>2018-04-09 13:31:44 +0000
commitf8ff2ef9662f79ebff2ab8e25097eac094c19667 (patch)
treef9c1b86199027ccd1897808cf47d68c5ea464d19 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentabf36113322fc7707acdbb612e6823be9f09dd9b (diff)
downloadllvm-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