public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3663] c++: Fix typo in NON_UNION_CLASS_TYPE_P.
@ 2020-10-05 22:08 Marek Polacek
0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2020-10-05 22:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:66a032079309069fec085fff2a014ac217ce5781
commit r11-3663-g66a032079309069fec085fff2a014ac217ce5781
Author: Marek Polacek <polacek@redhat.com>
Date: Mon Oct 5 18:06:19 2020 -0400
c++: Fix typo in NON_UNION_CLASS_TYPE_P.
gcc/cp/ChangeLog:
* cp-tree.h (NON_UNION_CLASS_TYPE_P): Fix typo in a comment.
Diff:
---
gcc/cp/cp-tree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index c9ad75117ad..c7b5e7915ae 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -2064,7 +2064,7 @@ enum languages { lang_c, lang_cplusplus };
#define CLASS_TYPE_P(T) \
(RECORD_OR_UNION_CODE_P (TREE_CODE (T)) && TYPE_LANG_FLAG_5 (T))
-/* Nonzero if T is a class type but not an union. */
+/* Nonzero if T is a class type but not a union. */
#define NON_UNION_CLASS_TYPE_P(T) \
(TREE_CODE (T) == RECORD_TYPE && TYPE_LANG_FLAG_5 (T))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-05 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 22:08 [gcc r11-3663] c++: Fix typo in NON_UNION_CLASS_TYPE_P Marek Polacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).