Add check if user's clang version supports --autocomplete or not.
If not, we just autocomplete files.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7575 Build 7575: arc lint + arc unit
Event Timeline
clang/utils/bash-autocomplete.sh | ||
---|---|---|
28 | It is probably a bit better if you mention that it falls back to the default filename completion if --autocomplete is not available. How about this: If clang is old that it does not support --autocomplete, fall back to the filename completion. | |
31 | If it is the same as just return, please remove 0. | |
33 | nit: it is a bit easier to read if you insert a newline here to separate code blocks. |
It is probably a bit better if you mention that it falls back to the default filename completion if --autocomplete is not available. How about this: If clang is old that it does not support --autocomplete, fall back to the filename completion.