diff options
author | Yuka Takahashi <yukatkh@gmail.com> | 2018-03-05 08:54:20 +0000 |
---|---|---|
committer | Yuka Takahashi <yukatkh@gmail.com> | 2018-03-05 08:54:20 +0000 |
commit | 41789e46a66d22f89fb2a3f38fd7be2b4586f7fd (patch) | |
tree | e1eb0d0f86ab2b6bc47ac5fd5eb5dee562478493 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 34be1b0288bb9b383e86a28bbd4e2cc6512d7662 (diff) | |
download | bcm5719-llvm-41789e46a66d22f89fb2a3f38fd7be2b4586f7fd.tar.gz bcm5719-llvm-41789e46a66d22f89fb2a3f38fd7be2b4586f7fd.zip |
[Bash-autocompletion] Pass all flags in shell command-line to Clang
Previously, we passed "#" to --autocomplete to indicate to enable cc1
flags. For example, when -cc1 or -Xclang was passed to bash, bash
executed `clang --autocomplete=#-<flag they want to complete>`.
However, this was not a good implementation because it depends -Xclang
and -cc1 parsing to shell. So I changed this to pass all flags shell
has, so that Clang can handle them internally.
I had to change many testcases because API spec changed quite a lot.
Reviewers: teemperor, v.g.vassilev
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D39342
llvm-svn: 326684
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions