Skip to content

Commit 81caf1d

Browse files
committed
Updated dependencies.
* Updated dependencies to final release versions * CppSharp is ***NOT*** updated as it does NOT follow rules of SemVer and the latest build contains BREAKING changes in that it requires .NET 9. But this project is targeting LTS with .NET 8 * Re-generated handles to ensure they are current. * Doc comment spelling corrections
1 parent 66f751a commit 81caf1d

File tree

97 files changed

+202
-190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+202
-190
lines changed

Directory.Packages.props

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,26 @@
2323
<!-- Roslyn Analyzers ***MUST*** target older framework -->
2424
<PackageVersion Include="AnsiCodes" Version="0.2.1" />
2525
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="6.0.0" />
26+
27+
<!--
28+
NOTE: These CA packages are NOT updated to 5.0, which IDE NuGet management suggests is compatible but is NOT.
29+
Upgrading to 5.0.0 or later REQUIRES .NET10 SDK which is not yet tested.
30+
-->
2631
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.14.0" />
2732
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="4.14.0" />
2833
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.14.0" />
2934
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" />
3035
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Features" Version="4.14.0" />
31-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" />
3236
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic" Version="4.14.0" />
3337
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.Features" Version="4.14.0" />
38+
39+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" />
3440
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.SourceGenerators.Testing" Version="1.1.2" />
3541
<PackageVersion Include="Basic.Reference.Assemblies.Net80" Version="1.8.3" />
3642
<PackageVersion Include="PolySharp" Version="1.15.0" />
3743
<PackageVersion Include="System.Buffers" Version="4.6.1" />
3844
<PackageVersion Include="System.Collections.Immutable" Version="9.0.10" />
3945
<PackageVersion Include="System.Memory" Version="4.5.5" />
40-
41-
<!-- Currently, only in preview -->
4246
<PackageVersion Include="System.CommandLine" Version="2.0.0" />
4347

4448
<!--
@@ -67,8 +71,13 @@
6771
<PackageVersion Include="Antlr4BuildTasks" Version="12.11.0" />
6872
<PackageVersion Include="Antlr4.Runtime.Standard" Version="4.13.1" />
6973
<PackageVersion Include="OpenSoftware.DgmlBuilder" Version="2.1.0" />
74+
<PackageVersion Include="System.CodeDom" Version="10.0.0" />
75+
76+
<!--
77+
NOTE: A newer version of this exists but it requires targeting .NET 9 that's a breaking change
78+
and not properly reported via NuGet dependencies.
79+
-->
7080
<PackageVersion Include="CppSharp" Version="1.1.5.3168" />
71-
<PackageVersion Include="System.CodeDom" Version="9.0.7" />
7281

7382
<!-- Tests all use the same framework versions -->
7483
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />

IgnoredWords.dic

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ buildtransitive
3434
builtinop
3535
byref
3636
byval
37+
cacheable
3738
callee
3839
canonicalization
3940
castable
@@ -66,6 +67,7 @@ enum
6667
Enums
6768
env
6869
exe
70+
façade
6971
facepalm
7072
fallback
7173
finalizer
@@ -79,17 +81,19 @@ gh
7981
github
8082
gitignore
8183
Globalization
84+
Globals
8285
Hashtable
8386
Identifier
8487
ifunc
8588
Impl
8689
initializer
90+
initializers
8791
inline
8892
inlined
8993
inlining
9094
Interop
9195
ints
92-
Invokable
96+
invocable
9397
jit
9498
len
9599
Lexer
@@ -102,6 +106,7 @@ llvmversion
102106
lookups
103107
LValue
104108
malloc
109+
marshalers
105110
marshallers
106111
marshalling
107112
materializer
@@ -119,10 +124,12 @@ namespaces
119124
nav
120125
nint
121126
noinline
127+
noogies
122128
nounwind
123129
nuint
124130
nullability
125131
Nullable
132+
nullptr
126133
numerics
127134
Nvidia
128135
online
@@ -184,6 +191,8 @@ unmarshal
184191
unoptimized
185192
unreferenced
186193
Unshipped
194+
untrusted
195+
untyped
187196
userdefinedop
188197
Users
189198
usings

docfx/llvm/articles/InternalDetails/llvm-handles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ forms:
3030
>[!NOTE]
3131
> The generated sources are not useful outside of the `Ubiquity.NET.Llvm.Interop` as they
3232
> use classes within that as a base class. These are generated manually via the
33-
> `Generate-HandleWrappers.ps1` script. With the sources checked in to the repository. This
34-
> is done once for any updates to the LibLLVM package to ensure the handles are kept up to
35-
> date with the underlying native library.
33+
> `Generate-HandleWrappers.ps1` script with the sources checked in to the repository. This
34+
> is done once for any updates to the `Ubiquity.NET.LibLLVM` package to ensure the handles
35+
> are kept up to date with the underlying native library.
3636
3737
### Contextual handles and Aliases
3838
These handles are never manually released or disposed, though releasing their containers

src/Interop/LlvmBindingsGenerator/CmdLineArgs.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ internal static readonly Option<DirectoryInfo> LlvmRoot
6969
= new Option<DirectoryInfo>("-l")
7070
{
7171
Required = true,
72-
Description = "Root of source with the LLVM headers to parse (Assumes and validates a subfolder 'include')",
72+
Description = "Root of source with the LLVM headers to parse (Assumes and validates a sub-folder 'include')",
7373
}.AcceptExistingFolderOnly()
7474
.AddValidator(CmdLineArgs.ValidateIncludeFolder);
7575

7676
internal static readonly Option<DirectoryInfo> ExtensionsRoot
7777
= new Option<DirectoryInfo>("-e")
7878
{
7979
Required = true,
80-
Description = "Root of source with the LibLLVM extension headers to parse (Assumes and validates a subfolder 'include')",
80+
Description = "Root of source with the LibLLVM extension headers to parse (Assumes and validates a sub-folder 'include')",
8181
}.AcceptExistingFolderOnly()
8282
.AddValidator(CmdLineArgs.ValidateIncludeFolder);
8383

src/Interop/LlvmBindingsGenerator/LlvmBindingsGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
NOTE: This isn't directly used by this project. However, it allows for scripts to restore this project, which
2424
guarantees the package is available, so that running it can use the contained headers as input.
2525
-->
26-
<PackageReference Include="Ubiquity.NET.LibLLVM" VersionOverride="20.1.*-*" GeneratePathProperty="true" PrivateAssets="all" />
26+
<PackageReference Include="Ubiquity.NET.LibLLVM" GeneratePathProperty="true" PrivateAssets="all" />
2727
</ItemGroup>
2828

2929
<!-- Runtime T4 templates need to specify the single file generator for the code behind -->

src/Interop/Ubiquity.NET.Llvm.Interop/ABI/StringMarshaling/LLVMErrorRef.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public static nint CreateForNativeOut( LazyEncodedString errMsg )
151151
}
152152

153153
/// <summary>Create a new <see cref="LLVMErrorRef"/> as <see cref="nint"/> from <see cref="Exception.Message"/></summary>
154-
/// <param name="ex">Exceotion to get the error message from</param>
154+
/// <param name="ex">Exception to get the error message from</param>
155155
/// <inheritdoc cref="CreateForNativeOut(LazyEncodedString)"/>
156156
public static nint CreateForNativeOut( Exception ex)
157157
{

src/Interop/Ubiquity.NET.Llvm.Interop/ABI/libllvm-c/AttributeBindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static partial class AttributeBindings
4949
[UnmanagedCallConv( CallConvs = [ typeof( CallConvCdecl ) ] )]
5050
public static unsafe partial nuint LibLLVMGetNumKnownAttribs( );
5151

52-
// Fills in an array of const string pointers. No deallocation is needed for each as
52+
// Fills in an array of const string pointers. No de-allocation is needed for each as
5353
// they are global static constants.
5454

5555
[LibraryImport( LibraryName )]

src/Interop/Ubiquity.NET.Llvm.Interop/ArchitectureExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Ubiquity.NET.Llvm.Interop
55
{
66
// This does NOT use the new C# 14 extension syntax due to several reasons
77
// 1) Code lens does not work https://github.com/dotnet/roslyn/issues/79006 [Sadly, marked as "not planned" - e.g., dead-end]
8-
// 2) MANY analyzers get things wrong and need to be supressed (CA1000, CA1034, and many others [SAxxxx])
8+
// 2) MANY analyzers get things wrong and need to be suppressed (CA1000, CA1034, and many others [SAxxxx])
99
// 3) Many tools (like docfx) don't support the new syntax yet and it isn't clear if they will in the future.
1010
// 4) No clear support for Caller* attributes ([CallerArgumentExpression(...)]).
1111
//

src/Interop/Ubiquity.NET.Llvm.Interop/ContextHandleExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Ubiquity.NET.Llvm.Interop
55
{
66
// This does NOT use the new C# 14 extension syntax due to several reasons
77
// 1) Code lens does not work https://github.com/dotnet/roslyn/issues/79006 [Sadly, marked as "not planned" - e.g., dead-end]
8-
// 2) MANY analyzers get things wrong and need to be supressed (CA1000, CA1034, and many others [SAxxxx])
8+
// 2) MANY analyzers get things wrong and need to be suppressed (CA1000, CA1034, and many others [SAxxxx])
99
// 3) Many tools (like docfx) don't support the new syntax yet and it isn't clear if they will in the future.
1010
// 4) No clear support for Caller* attributes ([CallerArgumentExpression(...)]).
1111
//

src/Interop/Ubiquity.NET.Llvm.Interop/Generated/Handles/LLVMAttributeRef.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
33
// This code was generated by a tool. [LlvmBindingsGenerator]
4-
// Tool Version: 20.1.9-epsilon.0.0.ci.618434732.ZZZ
4+
// Tool Version: 20.1.9-rc.1.0.ci.619607372.ZZZ
55
//
66
// Changes to this file may cause incorrect behavior and will be lost if
77
// the code is regenerated.
@@ -31,7 +31,7 @@ namespace Ubiquity.NET.Llvm.Interop
3131
/// behavior, including, and most likely, memory access violations.
3232
/// </note>
3333
/// </remarks>
34-
[GeneratedCode("LlvmBindingsGenerator","20.1.9-epsilon.0.0.ci.618434732.ZZZ")]
34+
[GeneratedCode("LlvmBindingsGenerator","20.1.9-rc.1.0.ci.619607372.ZZZ")]
3535
[NativeMarshalling(typeof(WrappedHandleMarshaller<LLVMAttributeRef>))]
3636
public readonly record struct LLVMAttributeRef
3737
: IWrappedHandle<LLVMAttributeRef>

0 commit comments

Comments
 (0)