LLVM Discussion Forums

Autocomplete clang++?

Hello,

I discovered this handy script recently: https://github.com/llvm/llvm-project/blob/master/clang/utils/bash-autocomplete.sh but unfortunately it only handles “clang” not “clang++”. I believe it could be enhanced by adding a simple “complete -F _clang clang++” line at the end.

Thanks,
– Gio