]> gcc.gnu.org Git - gcc.git/commitdiff
c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment.
authorMarek Polacek <polacek@redhat.com>
Mon, 8 Feb 2021 16:34:54 +0000 (11:34 -0500)
committerMarek Polacek <polacek@redhat.com>
Mon, 8 Feb 2021 16:35:26 +0000 (11:35 -0500)
gcc/cp/ChangeLog:

* cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo.

gcc/cp/cp-tree.h

index 970ed5e77bbb8147389aca8a22ae634f8569448e..41472a895b55f50d0554b4ae7a6e7b4457326954 100644 (file)
@@ -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
This page took 0.078477 seconds and 5 git commands to generate.