diff options
author | Marek Polacek <polacek@redhat.com> | 2021-02-08 11:34:54 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2021-02-08 11:35:26 -0500 |
commit | ec0a9b4e039582428b3119e857f6f4fb08c0ade0 (patch) | |
tree | 53e064b4cf1fc5a7dae1aa2959391ea543fce4a3 /gcc | |
parent | 40c92180df970143249f3cd5056f8fb48a4d9333 (diff) | |
download | gcc-ec0a9b4e039582428b3119e857f6f4fb08c0ade0.zip gcc-ec0a9b4e039582428b3119e857f6f4fb08c0ade0.tar.gz gcc-ec0a9b4e039582428b3119e857f6f4fb08c0ade0.tar.bz2 |
c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment.
gcc/cp/ChangeLog:
* cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/cp-tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 970ed5e..41472a8 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 |