[gcc r11-3663] c++: Fix typo in NON_UNION_CLASS_TYPE_P.
Marek Polacek
mpolacek@gcc.gnu.org
Mon Oct 5 22:08:23 GMT 2020
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))
More information about the Gcc-cvs
mailing list