llvm-project/clang/tools/scan-build-py/libscanbuild
Petr Hosek 5518d189ee [scan-build-py] Patch to fix "-analyzer-config" option
I noticed that when I use "-analyze-config" option in scan-build-py, it
behaves differently from original perl based scan-build.

For example, command:

$ scan-build -analyzer-config ipa=basic-inlining make

Will work without any issues on perl version of scan-build. But on
scan-build-py it will throw an error message "error reading
'ipa=basic-inlining'".

After debugging, it turns out that the scan-build-py does not put
"-analyzer-config" flag in front of the analyzer config flags (in this
case is the "ipa=basic-inlining") in the final clang command line. This
patch fixes this issue.

Patch by Haowei Wu

Differential Revision: https://reviews.llvm.org/D34489

llvm-svn: 308401
2017-07-19 00:29:41 +00:00
..
resources
__init__.py [scan-build-py] use python tempfile for tempdir 2017-03-20 09:03:24 +00:00
analyze.py [scan-build-py] Patch to fix "-analyzer-config" option 2017-07-19 00:29:41 +00:00
arguments.py [scan-build-py] use python tempfile for tempdir 2017-03-20 09:03:24 +00:00
clang.py [scan-build-py] use subprocess wrapper 2017-01-28 22:48:26 +00:00
compilation.py D17487: [analyzer][scan-build-py] flag filter modification for compilation database creation 2016-04-19 12:03:03 +00:00
intercept.py [scan-build-py] use python tempfile for tempdir 2017-03-20 09:03:24 +00:00
report.py [scan-build-py] reuse command line output parameter for report directory 2017-03-21 10:15:18 +00:00
shell.py