Skip to content

Commit b0f0794

Browse files
committed
Add comment shouldTrimType
1 parent c891fcd commit b0f0794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,7 @@ public override SyntaxNode VisitEnumDeclaration(EnumDeclarationSyntax node)
19571957
// See config option for more info and examples on what this does
19581958
if (config.TrimEnumTypeNonExclusiveVendors && typeVendor != null)
19591959
{
1960+
// Trim if the type vendor suffix does not match the identified exclusive vendor suffix
19601961
var shouldTrimType = typeVendor != exclusiveVendor;
19611962

19621963
// Check if there are other versions of the enum (this includes the core variant and other vendor variants)

0 commit comments

Comments
 (0)