aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2019-09-11 11:28:00 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2019-09-11 11:28:00 +0000
commit7994803c00a3aba210f76d3b61c53300c549969d (patch)
tree53238e6ab4a6b07c7a62af42261477fb24818efb /gcc/tree.h
parent5a307ee54bca63865b6e5e8ad690720adf0b9d78 (diff)
downloadgcc-7994803c00a3aba210f76d3b61c53300c549969d.zip
gcc-7994803c00a3aba210f76d3b61c53300c549969d.tar.gz
gcc-7994803c00a3aba210f76d3b61c53300c549969d.tar.bz2
[PATCH] some tree struct marking
https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00697.html gcc/ * tree.h (MARK_TS_TYPE_NON_COMMON): New. * tree.c (tree_node_structure_for_code): Reformat and alphabetize. gcc/cp/ * c-objcp-common.c (cp-objcp-common.c): Alphababetize and correctly mark all C++ nodes. From-SVN: r275641
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index fc85572..3fc36a4 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -94,6 +94,10 @@ as_internal_fn (combined_fn code)
(MARK_TS_TYPE_COMMON (C), \
tree_contains_struct[C][TS_TYPE_WITH_LANG_SPECIFIC] = true)
+#define MARK_TS_TYPE_NON_COMMON(C) \
+ (MARK_TS_TYPE_WITH_LANG_SPECIFIC (C), \
+ tree_contains_struct[C][TS_TYPE_NON_COMMON] = true) \
+
#define MARK_TS_DECL_MINIMAL(C) \
(MARK_TS_COMMON (C), \
tree_contains_struct[C][TS_DECL_MINIMAL] = true)