llvm-toolchain/debian/patches/scan-build-py-fix-default-bin.diff
2021-07-17 20:18:58 +02:00

14 lines
747 B
Diff

Index: llvm-toolchain-12-12.0.0/clang/tools/scan-build-py/libscanbuild/arguments.py
===================================================================
--- llvm-toolchain-12-12.0.0.orig/clang/tools/scan-build-py/libscanbuild/arguments.py
+++ llvm-toolchain-12-12.0.0/clang/tools/scan-build-py/libscanbuild/arguments.py
@@ -250,7 +250,7 @@ def create_analyze_parser(from_build_com
'--use-analyzer',
metavar='<path>',
dest='clang',
- default='clang',
+ default='clang-13',
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.""")