[llvm-branch-commits] [clang] [clang] fix printing of canonical template template parameters take 2 (PR #93448)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 28 11:33:15 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) {
----------------
cor3ntin wrote:

Shouldn't that be "anonymous" rather than canonical (even if canonical implies anonymous)

https://github.com/llvm/llvm-project/pull/93448


More information about the llvm-branch-commits mailing list