[Bash-completion] Fixed a bug that file doesn't autocompleted after =
authorYuka Takahashi <yukatkh@gmail.com>
Wed, 26 Jul 2017 13:30:36 +0000 (13:30 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Wed, 26 Jul 2017 13:30:36 +0000 (13:30 +0000)
commit8c000110cf3a858aa34bff1ea63f17daba4f41bb
treed98d2bc03880e0c47d051e11e5f16fd8552fcb6b
parentd3077a94a84bbe8c20da5ef66a6f4094ee94ccff
[Bash-completion] Fixed a bug that file doesn't autocompleted after =

Summary:
File path wasn't autocompleted after `-fmodule-cache-path=[tab]`, so
fixed this bug by checking if $flags contains only a newline or not.

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

llvm-svn: 309112
clang/utils/bash-autocomplete.sh