From: Marek Polacek Date: Mon, 8 Feb 2021 16:34:54 +0000 (-0500) Subject: c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment. X-Git-Tag: basepoints/gcc-12~1121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec0a9b4e039582428b3119e857f6f4fb08c0ade0;p=thirdparty%2Fgcc.git c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment. gcc/cp/ChangeLog: * cp-tree.h (CLASSTYPE_TI_TEMPLATE): Fix typo. --- diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 970ed5e77bbb..41472a895b55 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3775,8 +3775,8 @@ struct GTY(()) lang_decl { template struct S {}; template struct S {}; - - the CLASSTPYE_TI_TEMPLATE for S will be S, not the S. + + the CLASSTYPE_TI_TEMPLATE for S will be S, not the S. For a member class template, CLASSTYPE_TI_TEMPLATE always refers to the partial instantiation rather than the primary template. CLASSTYPE_TI_ARGS