[PATCH] D77880: get scan-view executable from environment

2020-04-10 Thread Oliver Tušla via Phabricator via cfe-commits
asmar created this revision. asmar added a reviewer: NoQ. Herald added subscribers: cfe-commits, Charusso. Herald added a project: clang. Fixes "Use of uninitialized value $ScanView in exec" error on systems with scan-view executable not located in the expected place. Currently when scan-build i

[PATCH] D77880: get scan-view executable from environment

2020-04-16 Thread Oliver Tušla via Phabricator via cfe-commits
asmar added a comment. Rather than globbing I would check whether there's a `scan-view` directory with the same version suffix as in the `scan-build`'s one. Getting "random" version from other directories doesn't seem transparent to me. When this fails, `which` for the system version is expecte