scan-build-py-fix-default-bin
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 28 Oct 2021 14:45:49 +0000 (15:45 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 28 Oct 2021 14:45:49 +0000 (15:45 +0100)
===================================================================

Gbp-Pq: Name scan-build-py-fix-default-bin.diff

clang/tools/scan-build-py/libscanbuild/arguments.py

index e258a41003317ecc59cff1675fba457f346837d8..2c3a915a92090cbdfc1bd06ecb7ecf0f60374416 100644 (file)
@@ -250,7 +250,7 @@ def create_analyze_parser(from_build_command):
         '--use-analyzer',
         metavar='<path>',
         dest='clang',
-        default='clang',
+        default='clang-12',
         help="""'%(prog)s' uses the 'clang' executable relative to itself for
         static analysis. One can override this behavior with this option by
         using the 'clang' packaged with Xcode (on OS X) or from the PATH.""")