[PATCH] [analyzer] Prevent ccc/c++-analyzer from hanging on Windows.
anton.yartsev at gmail.com
Wed Apr 29 16:57:51 PDT 2015
Fixed an issue with spaces. However additional changes (support for spaces in compiler arguments) are required to fully support spaces in a compiler path.
Giving --use-analyzer="F:/C LANG/clang.exe" to scan-build ends up with
error: error reading 'LANG\..\lib\clang\3.7.0'
That's because -resource-dir F:\C LANG\..\lib\clang\3.7.0 is given to clang.
http://reviews.llvm.org/D9357 has lacking changes that completely fix an issue.
The updated patch also eliminates the regression in case if clang crashes - now the proper value is rad from $?.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4302 bytes
Desc: not available
More information about the cfe-commits