llvm-toolchain/debian/patches/scan-build-py-fix-default-bin.diff
Sylvestre Ledru 7968be8f04 * Fix the default binary path for scan-build-py to clang-11 (instead of
clang) - see scan-build-py-fix-default-bin.diff
  tested by
  https://github.com/opencollab/llvm-toolchain-integration-test-suite/
  - not really working for now
2021-07-17 20:14:53 +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-11',
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.""")