This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][scan-build-py] Non-existing directory for scan-build output.
ClosedPublic

Authored by ayartsev on Feb 10 2016, 12:45 PM.

Details

Summary

Attached patch makes scan-build successfully accept non-existing output directories provided via "-o" option. The directory is created in this case. This behavior is conforming to the old perl scan-build implementation. Please review.

Diff Detail

Event Timeline

ayartsev updated this revision to Diff 47505.Feb 10 2016, 12:45 PM
ayartsev retitled this revision from to [analyzer][scan-build-py] Non-existing directory for scan-build output..
ayartsev updated this object.
ayartsev added a reviewer: rizsotto.mailinglist.
ayartsev added a subscriber: cfe-commits.
rizsotto.mailinglist edited edge metadata.

thanks Anton, LGTM!

This revision is now accepted and ready to land.Feb 20 2016, 5:52 PM

the semicolon at the end of line 39 is an issue for PEP8. please remove it.

the semicolon at the end of line 39 is an issue for PEP8. please remove it.

Done.

Committed as r261480, thanks for the review.