Skip to content

Commit 63358a1

Browse files
committed
IT WORKS! updated template arg name, just need to remove extraneous templatetypeparmdecl
1 parent b1718c6 commit 63358a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Sema/HLSLExternalSemaSource.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ struct TemplateParameterListBuilder {
423423
context.getTranslationUnitDecl(), // DeclContext
424424
NameLoc, // SourceLocation of 'T'
425425
NameLoc, // SourceLocation of 'T' again
426-
/*depth=*/0, // Depth in the template parameter list
427-
/*position=*/0, // Position in the template parameter list
428-
/*id=*/&TII, // Identifier for 'T'
426+
/*depth=*/0, // Depth in the template parameter list
427+
/*position=*/0, // Position in the template parameter list
428+
/*id=*/Params[0]->getIdentifier(), // Identifier for 'T'
429429
/*Typename=*/true, // Indicates this is a 'typename' or 'class'
430430
/*ParameterPack=*/false // Not a parameter pack
431431
);

0 commit comments

Comments
 (0)