Skip to content

Commit

Permalink
Merge pull request #457 from alexrp/main
Browse files Browse the repository at this point in the history
Handle `format` and `format_arg` attributes as no-ops.
  • Loading branch information
tannergooding authored Jun 23, 2023
2 parents 1c5588c + e99794f commit e930cfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6470,6 +6470,8 @@ private void WithAttributes(NamedDecl namedDecl, bool onlySupportedOSPlatform =
break;
}

case CX_AttrKind_Format:
case CX_AttrKind_FormatArg:
case CX_AttrKind_MSNoVTable:
case CX_AttrKind_MSAllocator:
case CX_AttrKind_MaxFieldAlignment:
Expand Down

0 comments on commit e930cfe

Please sign in to comment.