[clang] [clang] NFCI: improve TemplateArgument and TemplateName dump methods (PR #94905)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 00:56:14 PDT 2024


================
@@ -360,3 +360,34 @@ LLVM_DUMP_METHOD void ConceptReference::dump(raw_ostream &OS) const {
   ASTDumper P(OS, Ctx, Ctx.getDiagnostics().getShowColors());
   P.Visit(this);
 }
+
+//===----------------------------------------------------------------------===//
+// TemplateName method implementations
+//===----------------------------------------------------------------------===//
+
+// FIXME: These are using the TemplateArgument dumper.
----------------
cor3ntin wrote:

I don't think this is a bug, right? Arguably less optimal than it could be.
I think if there is room for improvement the fixme comment should be more detailed

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


More information about the cfe-commits mailing list