]> granicus.if.org Git - clang/commit
[autocompletion] Handle the space before pressing tab
authorYuka Takahashi <yukatkh@gmail.com>
Wed, 24 Oct 2018 12:43:25 +0000 (12:43 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Wed, 24 Oct 2018 12:43:25 +0000 (12:43 +0000)
commit31374564c244b20790a6597dada744a2b53eac72
tree2ad72b291f2b900791de9cd3d84b6ff5df554547
parent589b42244bedcf5d2803feea65e02245fc1de341
[autocompletion] Handle the space before pressing tab

Summary:
Distinguish "--autocomplete=-someflag" and "--autocomplete=-someflag,"
because the latter indicates that the user put a space before pushing tab
which should end up in a file completion.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345133 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/autocomplete.c