[clang] fix: complete comment (PR #97322)

Alfiya Siddique via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 10:17:07 PDT 2024


https://github.com/AlfiyaSiddique updated https://github.com/llvm/llvm-project/pull/97322

>From 4391141f1b73f48304c64fdf0d61ac083ba8c902 Mon Sep 17 00:00:00 2001
From: AlfiyaSiddique <alfiyasiddique1708 at gmail.com>
Date: Mon, 1 Jul 2024 22:40:07 +0530
Subject: [PATCH] complete comment

---
 clang/include/clang/AST/TemplateName.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/clang/include/clang/AST/TemplateName.h b/clang/include/clang/AST/TemplateName.h
index 24a7fde76195d..e3b7dd261535d 100644
--- a/clang/include/clang/AST/TemplateName.h
+++ b/clang/include/clang/AST/TemplateName.h
@@ -198,7 +198,8 @@ class SubstTemplateTemplateParmPackStorage : public UncommonTemplateNameStorage,
 ///
 /// Here, "apply" is treated as a template name within the typename
 /// specifier in the typedef. "apply" is a nested template, and can
-/// only be understood in the context of
+/// only be understood in the context of a template instantiation,
+/// hence is represented as a dependent template name.
 class TemplateName {
   // NameDecl is either a TemplateDecl or a UsingShadowDecl depending on the
   // NameKind.



More information about the cfe-commits mailing list