diff mbox series

[pushed] c++: Fix typo in NON_UNION_CLASS_TYPE_P.

Message ID 20201005220842.3783088-1-polacek@redhat.com
State New
Headers show
Series [pushed] c++: Fix typo in NON_UNION_CLASS_TYPE_P. | expand

Commit Message

Marek Polacek Oct. 5, 2020, 10:08 p.m. UTC
Tested x86_64-pc-linux-gnu, applying to trunk.

gcc/cp/ChangeLog:

	* cp-tree.h (NON_UNION_CLASS_TYPE_P): Fix typo in a comment.
---
 gcc/cp/cp-tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 1c72f460e9e4fce1220e426989226dfeb0db816e
diff mbox series

Patch

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