mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 17:59:27 +00:00
update of the missing patch
This commit is contained in:
parent
c245e502fa
commit
be8f84d14e
@ -10,7 +10,7 @@ Index: llvm-toolchain-snapshot_16~++20211116120952+5b4bfd8c2416/clang/tools/scan
|
|||||||
|
|
||||||
$Clang = $ENV{'CLANG_CXX'};
|
$Clang = $ENV{'CLANG_CXX'};
|
||||||
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
|
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
|
||||||
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-16'; }
|
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-17'; }
|
||||||
|
|
||||||
$IsCXX = 1
|
$IsCXX = 1
|
||||||
}
|
}
|
||||||
@ -19,7 +19,7 @@ Index: llvm-toolchain-snapshot_16~++20211116120952+5b4bfd8c2416/clang/tools/scan
|
|||||||
|
|
||||||
$Clang = $ENV{'CLANG'};
|
$Clang = $ENV{'CLANG'};
|
||||||
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
|
- if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
|
||||||
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-16'; }
|
+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-17'; }
|
||||||
|
|
||||||
$IsCXX = 0
|
$IsCXX = 0
|
||||||
}
|
}
|
||||||
|
4
debian/patches/clang-format-version.diff
vendored
4
debian/patches/clang-format-version.diff
vendored
@ -13,7 +13,7 @@ Index: llvm-toolchain-snapshot_16~++20220407011631+46f0e2ceb487/clang/tools/clan
|
|||||||
'-style=file, but can not find the .clang-format'
|
'-style=file, but can not find the .clang-format'
|
||||||
'file to use.')
|
'file to use.')
|
||||||
- parser.add_argument('-binary', default='clang-format',
|
- parser.add_argument('-binary', default='clang-format',
|
||||||
+ parser.add_argument('-binary', default='clang-format-16',
|
+ parser.add_argument('-binary', default='clang-format-17',
|
||||||
help='location of binary to use for clang-format')
|
help='location of binary to use for clang-format')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ Index: llvm-toolchain-snapshot_16~++20220407011631+46f0e2ceb487/clang/tools/clan
|
|||||||
|
|
||||||
(defcustom clang-format-executable
|
(defcustom clang-format-executable
|
||||||
- (or (executable-find "clang-format")
|
- (or (executable-find "clang-format")
|
||||||
+ (or (executable-find "clang-format-16")
|
+ (or (executable-find "clang-format-17")
|
||||||
"clang-format")
|
"clang-format")
|
||||||
"Location of the clang-format executable.
|
"Location of the clang-format executable.
|
||||||
|
|
||||||
|
4
debian/patches/clang-tidy-run-bin.diff
vendored
4
debian/patches/clang-tidy-run-bin.diff
vendored
@ -6,10 +6,10 @@ Index: llvm-toolchain-snapshot_16~++20220525112612+8919447c71ab/clang-tools-extr
|
|||||||
action='store_true', help='allow alpha checkers from '
|
action='store_true', help='allow alpha checkers from '
|
||||||
'clang-analyzer.')
|
'clang-analyzer.')
|
||||||
parser.add_argument('-clang-tidy-binary', metavar='PATH',
|
parser.add_argument('-clang-tidy-binary', metavar='PATH',
|
||||||
+ default='clang-tidy-16',
|
+ default='clang-tidy-17',
|
||||||
help='path to clang-tidy binary')
|
help='path to clang-tidy binary')
|
||||||
parser.add_argument('-clang-apply-replacements-binary', metavar='PATH',
|
parser.add_argument('-clang-apply-replacements-binary', metavar='PATH',
|
||||||
+ default='clang-apply-replacements-16',
|
+ default='clang-apply-replacements-17',
|
||||||
help='path to clang-apply-replacements binary')
|
help='path to clang-apply-replacements binary')
|
||||||
parser.add_argument('-checks', default=None,
|
parser.add_argument('-checks', default=None,
|
||||||
help='checks filter, when not specified, use clang-tidy '
|
help='checks filter, when not specified, use clang-tidy '
|
||||||
|
2
debian/patches/fix-scan-view-path.diff
vendored
2
debian/patches/fix-scan-view-path.diff
vendored
@ -6,7 +6,7 @@ Index: llvm-toolchain-snapshot_16~++20200326162000+4673699a470/clang/tools/scan-
|
|||||||
kMaxPortsToTry = 100
|
kMaxPortsToTry = 100
|
||||||
|
|
||||||
###
|
###
|
||||||
+BASE_DIR = '/usr/share/clang/scan-view-16'
|
+BASE_DIR = '/usr/share/clang/scan-view-17'
|
||||||
|
|
||||||
|
|
||||||
def url_is_up(url):
|
def url_is_up(url):
|
||||||
|
2
debian/patches/python-clangpath.diff
vendored
2
debian/patches/python-clangpath.diff
vendored
@ -11,7 +11,7 @@ Index: llvm-toolchain-snapshot_16~++20211116120952+5b4bfd8c2416/clang/bindings/p
|
|||||||
file = 'libclang.dll'
|
file = 'libclang.dll'
|
||||||
else:
|
else:
|
||||||
- file = 'libclang.so'
|
- file = 'libclang.so'
|
||||||
+ file = 'libclang-16.so'
|
+ file = 'libclang-17.so'
|
||||||
|
|
||||||
if Config.library_path:
|
if Config.library_path:
|
||||||
file = Config.library_path + '/' + file
|
file = Config.library_path + '/' + file
|
||||||
|
2
debian/patches/scan-build-clang-path.diff
vendored
2
debian/patches/scan-build-clang-path.diff
vendored
@ -11,7 +11,7 @@ Index: llvm-toolchain-snapshot_16~++20211116120952+5b4bfd8c2416/clang/tools/scan
|
|||||||
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
$Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang");
|
||||||
if (!defined $Clang || ! -x $Clang) {
|
if (!defined $Clang || ! -x $Clang) {
|
||||||
- $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang");
|
- $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang");
|
||||||
+ $Clang = Cwd::realpath("/usr/lib/llvm-16/bin/clang");
|
+ $Clang = Cwd::realpath("/usr/lib/llvm-17/bin/clang");
|
||||||
if (!defined $Clang || ! -x $Clang) {
|
if (!defined $Clang || ! -x $Clang) {
|
||||||
# When an Xcode toolchain is present, look for a clang in the sibling bin
|
# When an Xcode toolchain is present, look for a clang in the sibling bin
|
||||||
# of the parent of the bin directory. So if scan-build is at
|
# of the parent of the bin directory. So if scan-build is at
|
||||||
|
@ -7,7 +7,7 @@ Index: llvm-toolchain-snapshot_16~++20210717105643+f95d26006e06/clang/tools/scan
|
|||||||
metavar='<path>',
|
metavar='<path>',
|
||||||
dest='clang',
|
dest='clang',
|
||||||
- default='clang',
|
- default='clang',
|
||||||
+ default='clang-16',
|
+ default='clang-17',
|
||||||
help="""'%(prog)s' uses the 'clang' executable relative to itself for
|
help="""'%(prog)s' uses the 'clang' executable relative to itself for
|
||||||
static analysis. One can override this behavior with this option by
|
static analysis. One can override this behavior with this option by
|
||||||
using the 'clang' packaged with Xcode (on OS X) or from the PATH.""")
|
using the 'clang' packaged with Xcode (on OS X) or from the PATH.""")
|
||||||
|
Loading…
Reference in New Issue
Block a user