diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2015-10-26 17:19:51 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2015-10-26 17:19:51 +0000 |
commit | 8e850d45e4184581c5f5ecca1da5157c999a3f33 (patch) | |
tree | 7a556de28e092e6519d63554fac75ceab21583eb /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 5dff6969eaa5b4b656511abdf0bb4897c44006c8 (diff) | |
download | llvm-8e850d45e4184581c5f5ecca1da5157c999a3f33.zip llvm-8e850d45e4184581c5f5ecca1da5157c999a3f33.tar.gz llvm-8e850d45e4184581c5f5ecca1da5157c999a3f33.tar.bz2 |
[analyzer] ccc-analyzer: Fix -isystem value passing.
The regex for -isystem matching is broken. -[D,I,Usystem] matches "-D", "-,",
"-I", "-U", "-s" "-y", etc. Besides that, "-isystem /foo" gets interpreted as
"-i" with a non-empty value "system" and thus the next "/foo" argument is not
read. This patch corrects the regex.
This fixes PR13237 <https://llvm.org/bugs/show_bug.cgi?id=13237>.
A patch by Peter Wu!
Differential Revision: http://reviews.llvm.org/D13800
llvm-svn: 251312
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions