Skip to content

Commit 3f56975

Browse files
committed
Update dependencies and ClangSharp to 20.1.2.4
1 parent 92f363a commit 3f56975

File tree

9 files changed

+41
-54
lines changed

9 files changed

+41
-54
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CppAst provides a C/C++ parser for header files with access to the full AST, com
1212

1313
- Compatible with `net8.0`
1414
- For `netstandard2.0` use `0.14.0` version.
15-
- Using `Clang/libclang 18.1.0.4`
15+
- Using `Clang/libclang 20.1.2.4`
1616
- Allow to parse *in-memory* C/C++ text and C/C++ files from the disk
1717
- Simple AST model
1818
- Full type system

src/CppAst.Tests/CppAst.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<!-- Workaround for issue https://github.com/microsoft/ClangSharp/issues/129 -->
66
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == '' AND '$(PackAsTool)' != 'true'">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
77
<IsPackable>false</IsPackable>
@@ -26,12 +26,12 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="nunit" Version="4.3.2" />
30-
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0">
29+
<PackageReference Include="nunit" />
30+
<PackageReference Include="NUnit3TestAdapter">
3131
<PrivateAssets>all</PrivateAssets>
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3333
</PackageReference>
34-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
34+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
3535
</ItemGroup>
3636

3737
<ItemGroup>

src/CppAst.sln

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/CppAst.slnx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Solution>
2+
<Folder Name="/build/">
3+
<File Path="../.github/workflows/ci.yml" />
4+
<File Path="../changelog.md" />
5+
<File Path="../license.txt" />
6+
<File Path="../readme.md" />
7+
<File Path="Directory.Packages.props" />
8+
<File Path="dotnet-releaser.toml" />
9+
<File Path="global.json" />
10+
</Folder>
11+
<Project Path="CppAst.Tests/CppAst.Tests.csproj" />
12+
<Project Path="CppAst/CppAst.csproj" />
13+
</Solution>
File renamed without changes.

src/CppAst/CppAst.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
44
<PackageId>CppAst</PackageId>
@@ -26,15 +26,15 @@
2626
<None Include="../../img/cppast.png" Pack="true" PackagePath="/logo.png" />
2727
<None Include="../../readme.md" Pack="true" PackagePath="/" />
2828

29-
<PackageReference Include="ClangSharp" Version="20.1.2.1" />
29+
<PackageReference Include="ClangSharp" />
3030
</ItemGroup>
3131

3232
<ItemGroup>
33-
<PackageReference Include="Irony" Version="1.5.3" />
34-
<PackageReference Include="MinVer" Version="6.0.0">
33+
<PackageReference Include="Irony" />
34+
<PackageReference Include="MinVer">
3535
<PrivateAssets>all</PrivateAssets>
3636
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3737
</PackageReference>
38-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
38+
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
3939
</ItemGroup>
4040
</Project>

src/Directory.Packages.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
5+
</PropertyGroup>
6+
<ItemGroup>
7+
<PackageVersion Include="ClangSharp" Version="20.1.2.4" />
8+
<PackageVersion Include="Irony" Version="1.5.3" />
9+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
10+
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
11+
<PackageVersion Include="MinVer" Version="6.0.0" />
12+
<PackageVersion Include="nunit" Version="4.4.0" />
13+
<PackageVersion Include="NUnit3TestAdapter" Version="5.2.0" />
14+
</ItemGroup>
15+
</Project>

src/dotnet-releaser.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# configuration file for dotnet-releaser
22
[msbuild]
3-
project = "./CppAst.sln"
3+
project = "./CppAst.slnx"
44
[github]
55
user = "xoofx"
66
repo = "CppAst.NET"

src/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "10.0.100",
44
"rollForward": "latestMinor",
55
"allowPrerelease": false
66
}

0 commit comments

Comments
 (0)