[GSoC] Shell autocompletion for clang
authorYuka Takahashi <yukatkh@gmail.com>
Tue, 23 May 2017 18:39:08 +0000 (18:39 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Tue, 23 May 2017 18:39:08 +0000 (18:39 +0000)
commitc8068dbb071725ec8be6c53420138964726cdc38
tree192f34ad42a4c07b778b770b221dc6438df7cb9e
parent7b0a6aa6426ed1abd844d109ad0b56f6743736b8
[GSoC] Shell autocompletion for clang

Summary:
This is a first patch for GSoC project, bash-completion for clang.
To use this on bash, please run `source clang/utils/bash-autocomplete.sh`.
bash-autocomplete.sh is code for bash-completion.

Simple flag completion and path completion is available in this patch.

Reviewers: teemperor, v.g.vassilev, ruiu, Bigcheese, efriedma

Subscribers: llvm-commits

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

llvm-svn: 303670
clang/CMakeLists.txt
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/autocomplete.c [new file with mode: 0644]
clang/utils/bash-autocomplete.sh [new file with mode: 0644]
llvm/include/llvm/Option/OptTable.h
llvm/lib/Option/OptTable.cpp