| commit | 3610769fd3b29765260a1afecb79a1645048ca70 | [log] [tgz] |
|---|---|---|
| author | aaronballman <aaronballman> | Wed Jul 24 20:03:27 2019 |
| committer | aaronballman <aaronballman> | Wed Jul 24 20:03:27 2019 |
| tree | 5b3505344ca32caa2264997d13cb109c5e19d3a9 | |
| parent | ec60244eedbdf09f5c2978fca4504bc61de46d75 [diff] |
Fix exporting SARIF files from scan-build on Windows. In Perl, -z is defined as checking if a "file has zero size" and makes no mention what it does when given a directory. It looks like the behavior differs across platforms, which is why on Windows the SARIF file was always being deleted. Patch by Joe Ranieri. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk/tools/scan-build@366941 91177308-0d34-0410-b5e6-96231b3b80d8