[cfe-dev] scan-build checking for make
Artem Dergachev via cfe-dev
cfe-dev at lists.llvm.org
Tue Feb 11 23:26:08 PST 2020
Yes, perl scan-build is absolutely still used, so patches are very welcome!
Regex, or just extract the filename, or maybe even *always* set these
variables because it's unlikely to make things worse.
On 2/12/20 1:58 AM, Csaba Ráduly via cfe-dev wrote:
> Hi all,
> scan-build looks at the name of the build command to decide whether to
> add CC=... and CXX=... commandline options for make-like build
> commands, in order to override these values if they are set in the
> makefile (which wins over environment variables).
> Unfortunately, this means that
> scan-build /usr/local/bin/make or scan-build $HOME/bin/gmake
> are not recognized as "make-like" and CC=... and CXX=... options are
> not added.
> This check should be made with a regex, just like the checks before.
> Is this Perl script still used? Should I make a patch?
More information about the cfe-dev