================
@@ -235,10 +235,10 @@ getGenericLambdaTemplateParameterList(LambdaScopeInfo 
*LSI, Sema &SemaRef) {
   if (!LSI->GLTemplateParameterList && !LSI->TemplateParams.empty()) {
     LSI->GLTemplateParameterList = TemplateParameterList::Create(
         SemaRef.Context,
-        /*Template kw loc*/ SourceLocation(),
+        /*Template kw loc*/ LSI->IntroducerRange.getBegin(),
----------------
zyn0217 wrote:

Let's have a brief comment here explaining the purpose of this location.

https://github.com/llvm/llvm-project/pull/174723
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to