Skip to content

Commit 8c57e20

Browse files
committed
Add clang exclusion comments in lookup stubs template
***NO_CI***
1 parent 360db2a commit 8c57e20

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MetadataProcessor.Core/SkeletonGenerator/SkeletonTemplates.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ struct Library_{{AssemblyName}}_{{Name}}{{#newline}}
104104
#include ""{{HeaderFileName}}.h""{{#newline}}
105105
{{#newline}}
106106
107+
// clang-format off
108+
107109
static const CLR_RT_MethodHandler method_lookup[] ={{#newline}}
108110
{{{#newline}}
109111
{{#each LookupTable}}
@@ -119,6 +121,9 @@ struct Library_{{AssemblyName}}_{{Name}}{{#newline}}
119121
method_lookup,{{#newline}}
120122
{ {{NativeVersion.Major}}, {{NativeVersion.Minor}}, {{NativeVersion.Build}}, {{NativeVersion.Revision}} }{{#newline}}
121123
};{{#newline}}
124+
125+
// clang-format on
126+
122127
";
123128

124129
internal const string ClassWithoutInteropStubTemplate =

0 commit comments

Comments
 (0)