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

2020-05-20 Thread Artem Dergachev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG3f333e0af7a8: [analyzer] Get scan-view executable from environment. (authored by dergachev.a). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77880/new/ http

[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

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

2020-04-15 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ accepted this revision. NoQ added a comment. This revision is now accepted and ready to land. Thank you! While it probably will never matter in practice because `scan-view` is barely ever updated, wouldn't it be a bit safer from revision lock perspective to keep looking for `scan-view` rela

[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