diff options
author | Alfiya Siddique <86224794+AlfiyaSiddique@users.noreply.github.com> | 2024-07-02 07:17:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 18:47:36 -0700 |
commit | 9b8c2fae38bcff0b16d996ee002ff1e989fa23ea (patch) | |
tree | 2b66ed4905658754d2a49f8382865d647e8c0be6 | |
parent | 299d3ddc618e9a95aa1050e4c1a7dfddbcd94395 (diff) | |
download | llvm-9b8c2fae38bcff0b16d996ee002ff1e989fa23ea.zip llvm-9b8c2fae38bcff0b16d996ee002ff1e989fa23ea.tar.gz llvm-9b8c2fae38bcff0b16d996ee002ff1e989fa23ea.tar.bz2 |
fix: complete comment (#97322)
Completing a comment related to dependent template names that abruptly
ended and might cause confusion for beginner contributors.
Fixes #96718
-rw-r--r-- | clang/include/clang/AST/TemplateName.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/AST/TemplateName.h b/clang/include/clang/AST/TemplateName.h index 24a7fde..e3b7dd2 100644 --- a/clang/include/clang/AST/TemplateName.h +++ b/clang/include/clang/AST/TemplateName.h @@ -198,7 +198,8 @@ public: /// /// 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. |