[clang] [clang] remove ClassScopeFunctionSpecializationDecl (PR #66636)
Krystian Stasiowski via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 2 05:30:24 PDT 2023
================
@@ -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
More information about the cfe-commits
mailing list