c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment.

gcc/cp/ChangeLog:

	* cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo.
This commit is contained in:
Marek Polacek 2021-02-08 11:34:54 -05:00
parent 40c92180df
commit ec0a9b4e03

View 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