From ec0a9b4e039582428b3119e857f6f4fb08c0ade0 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Mon, 8 Feb 2021 11:34:54 -0500 Subject: c++: Fix typo in CLASSTYPE_TI_TEMPLATE comment. 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 970ed5e..41472a8 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 -- cgit v1.1