================ @@ -752,8 +745,6 @@ class CollectExtraHighlightings } if (auto *Args = D->getTemplateSpecializationArgsAsWritten()) H.addAngleBracketTokens(Args->getLAngleLoc(), Args->getRAngleLoc()); - if (auto *I = D->getDependentSpecializationInfo()) - H.addAngleBracketTokens(I->getLAngleLoc(), I->getRAngleLoc()); ---------------- sdkrystian wrote:
@AaronBallman With this patch we store the template arguments as written in `DependentFunctionTemplateSpecializationInfo::TemplateArgsAsWritten`, and `FunctionDecl::getTemplateSpecializationArgsAsWritten` is updated to return the stored `ASTTemplateArgumentListInfo`. Therefore, the two lines above handle the arguments list for dependent function template specializations. https://github.com/llvm/llvm-project/pull/66636 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits