diff options
author | Yuka Takahashi <yukatkh@gmail.com> | 2018-10-24 08:24:16 +0000 |
---|---|---|
committer | Yuka Takahashi <yukatkh@gmail.com> | 2018-10-24 08:24:16 +0000 |
commit | 33c2e18eaf5f30aacf9a9c7da8ca71781fdc4272 (patch) | |
tree | e5c52ea2b5ddff605a6ea9f2c7ad59fd24bc79d0 /test/Index | |
parent | 6e5e0556a753b7ab4e4e59e0c48474b2c7e5b91e (diff) |
[bash-autocompletion] Fix bug when a flag ends with '='
There was a bug that when a flag ends with '=' and no value was suggested,
clang autocompletes the flag itself.
For example, in bash, it looked like this:
```
$ clang -fmodule-file=[tab]
-> $clang -fmodule-file=-fmodule-file
```
This is not what we expect. We expect a file autocompletion when no value
was found. With this patch, pressing tab suggests files in the current
directory.
Reviewers: teemperor, ruiu
Subscribers: cfe-commits
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index')
0 files changed, 0 insertions, 0 deletions