From 184bf8fc5618e61bc9d038487d1ffe39a0ad5672 Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Thu, 25 Apr 2024 10:47:56 -0700 Subject: [PATCH] Ignore the TypeVisibility and NoThrow attributes --- sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs index 0242724e..0a97ea4c 100644 --- a/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs +++ b/sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs @@ -6691,7 +6691,9 @@ private void WithAttributes(NamedDecl namedDecl, bool onlySupportedOSPlatform = case CX_AttrKind_MSNoVTable: case CX_AttrKind_MSAllocator: case CX_AttrKind_MaxFieldAlignment: + case CX_AttrKind_NoThrow: case CX_AttrKind_SelectAny: + case CX_AttrKind_TypeVisibility: case CX_AttrKind_Uuid: { // Nothing to handle