We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1718c6 commit 63358a1Copy full SHA for 63358a1
clang/lib/Sema/HLSLExternalSemaSource.cpp
@@ -423,9 +423,9 @@ struct TemplateParameterListBuilder {
423
context.getTranslationUnitDecl(), // DeclContext
424
NameLoc, // SourceLocation of 'T'
425
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'
+ /*depth=*/0, // Depth in the template parameter list
+ /*position=*/0, // Position in the template parameter list
+ /*id=*/Params[0]->getIdentifier(), // Identifier for 'T'
429
/*Typename=*/true, // Indicates this is a 'typename' or 'class'
430
/*ParameterPack=*/false // Not a parameter pack
431
);
0 commit comments