[clang] [clang] Track final substitution for Subst* AST nodes (PR #132748)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 2 05:25:22 PDT 2025


================
@@ -1302,6 +1302,8 @@ void TextNodeDumper::dumpBareTemplateName(TemplateName TN) {
     OS << " index " << STS->getIndex();
     if (std::optional<unsigned int> PackIndex = STS->getPackIndex())
       OS << " pack_index " << *PackIndex;
+    if (STS->getFinal())
+      OS << " final";
----------------
cor3ntin wrote:

> `FullySugared` seems fine to me, unless you have a better idea. I would be ok with changing the name in a followup, which wouldn't really require review once we agree on a name.

+1

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


More information about the cfe-commits mailing list