[PATCH] D34489: [scan-build-py] Patch to fix "-analyzer-config" option

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 18 17:32:15 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL308401: [scan-build-py] Patch to fix "-analyzer-config" option (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D34489?vs=103490&id=107214#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34489

Files:
  cfe/trunk/tools/scan-build-py/libscanbuild/analyze.py


Index: cfe/trunk/tools/scan-build-py/libscanbuild/analyze.py
===================================================================
--- cfe/trunk/tools/scan-build-py/libscanbuild/analyze.py
+++ cfe/trunk/tools/scan-build-py/libscanbuild/analyze.py
@@ -249,7 +249,7 @@
     if args.output_format:
         result.append('-analyzer-output={0}'.format(args.output_format))
     if args.analyzer_config:
-        result.append(args.analyzer_config)
+        result.extend(['-analyzer-config', args.analyzer_config])
     if args.verbose >= 4:
         result.append('-analyzer-display-progress')
     if args.plugins:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34489.107214.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170719/64f4fdb4/attachment.bin>


More information about the cfe-commits mailing list