[llvm-branch-commits] [clang] [clang] fix printing of canonical template template parameters take 2 (PR #93448)
Matheus Izvekov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 28 12:26:28 PDT 2024
================
@@ -292,6 +292,14 @@ void TemplateName::Profile(llvm::FoldingSetNodeID &ID) {
void TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy,
Qualified Qual) const {
+ auto handleCanonicalTTP = [](TemplateDecl *TD, raw_ostream &OS) {
----------------
mizvekov wrote:
Yeah, the primary use case is canonical TTPs, but it would be more accurate to say this handles any anonymous TTP, for whatever reason.
https://github.com/llvm/llvm-project/pull/93448
More information about the llvm-branch-commits
mailing list