[pushed] c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment.
Marek Polacek
polacek@redhat.com
Mon Feb 8 16:37:00 GMT 2021
gcc/cp/ChangeLog:
* cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo.
---
gcc/cp/cp-tree.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 970ed5e77bb..41472a895b5 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3775,8 +3775,8 @@ struct GTY(()) lang_decl {
template <typename T> struct S {};
template <typename T> struct S<T*> {};
-
- the CLASSTPYE_TI_TEMPLATE for S<int*> will be S, not the S<T*>.
+
+ the CLASSTYPE_TI_TEMPLATE for S<int*> will be S, not the S<T*>.
For a member class template, CLASSTYPE_TI_TEMPLATE always refers to the
partial instantiation rather than the primary template. CLASSTYPE_TI_ARGS
base-commit: 40c92180df970143249f3cd5056f8fb48a4d9333
--
2.29.2
More information about the Gcc-patches
mailing list