Skip to content

Commit f9d536e

Browse files
committed
Update libclang to 19.1.5 for binding generator
1 parent a9c286b commit f9d536e

File tree

10 files changed

+1812
-1955
lines changed

10 files changed

+1812
-1955
lines changed

1k/1kiss.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ $manifest = @{
216216
# _EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang xx.x.x or newer.");
217217
# clang-cl msvc14.37 require 16.0.0+
218218
# clang-cl msvc14.40 require 17.0.0+
219-
llvm = '17.0.6+';
219+
llvm = '17.0.6+';
220220
gcc = '9.0.0+';
221221
cmake = '3.23.0~3.31.1+';
222222
ninja = '1.10.0+';
@@ -655,7 +655,7 @@ function find_prog($name, $path = $null, $mode = 'ONLY', $cmd = $null, $params =
655655
if (!$usefv) {
656656
$verStr = $(. $cmd @params 2>$null) | Select-Object -First 1
657657
if ($LASTEXITCODE) {
658-
Write-Warning '1kiss: Get version of $cmd fail'
658+
Write-Warning "1kiss: Get version of $cmd fail"
659659
$LASTEXITCODE = 0
660660
}
661661
if (!$verStr -or $verStr.Contains('--version')) {
@@ -2029,7 +2029,7 @@ if (!$setupOnly) {
20292029

20302030
if ($options.t) { $cmake_target = $options.t }
20312031
if ($cmake_target) {
2032-
$cmake_targets = $cmake_target.Split(',') | Sort-Object | Get-Unique
2032+
$cmake_targets = $cmake_target.Split(',')
20332033
foreach ($target in $cmake_targets) {
20342034
$1k.println("cmake --build $BUILD_DIR $BUILD_ALL_OPTIONS --target $target")
20352035
cmake --build $BUILD_DIR $BUILD_ALL_OPTIONS --target $target $forward_options | Out-Host

manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"kcp": "v1.7-f2aa30e",
66
"lz4": "v1.10.0",
77
"yaml-cpp": "0.8.0",
8-
"sample-assets": "master"
8+
"sample-assets": "master",
9+
"llvm": "19.1.5"
910
},
1011
"mirrors": {
1112
"github": {

tools/bindings-generator/clang/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#===- __init__.py - Clang Python Bindings --------------------*- python -*--===#
1+
# ===- __init__.py - Clang Python Bindings --------------------*- python -*--===#
22
#
33
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
# See https://llvm.org/LICENSE.txt for license information.
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
7-
#===------------------------------------------------------------------------===#
7+
# ===------------------------------------------------------------------------===#
88

99
r"""
1010
Clang Library Bindings
@@ -19,5 +19,4 @@
1919
Bindings for the Clang indexing library.
2020
"""
2121

22-
__all__ = ['cindex']
23-
22+
__all__ = ["cindex"]

0 commit comments

Comments
 (0)