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.
This commit is contained in:
Marek Polacek 2020-10-05 18:06:19 -04:00
parent 1c72f460e9
commit 66a0320793

View file

@ -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))