aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2020-10-05 18:06:19 -0400
committerMarek Polacek <polacek@redhat.com>2020-10-05 18:06:48 -0400
commit66a032079309069fec085fff2a014ac217ce5781 (patch)
tree759e25207fe786d4950d823c41154644af18049f
parent1c72f460e9e4fce1220e426989226dfeb0db816e (diff)
downloadgcc-66a032079309069fec085fff2a014ac217ce5781.zip
gcc-66a032079309069fec085fff2a014ac217ce5781.tar.gz
gcc-66a032079309069fec085fff2a014ac217ce5781.tar.bz2
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.
-rw-r--r--gcc/cp/cp-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index c9ad751..c7b5e791 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))