summaryrefslogtreecommitdiffstats
path: root/gcc/c-common.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.def')
-rw-r--r--gcc/c-common.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-common.def b/gcc/c-common.def
index 6ae0466f236..7840ce81610 100644
--- a/gcc/c-common.def
+++ b/gcc/c-common.def
@@ -101,3 +101,9 @@ DEFTREECODE (CASE_LABEL, "case_label", 'e', 3)
/* A STMT_EXPR represents a statement-expression. The
STMT_EXPR_STMT is the statement given by the expression. */
DEFTREECODE (STMT_EXPR, "stmt_expr", 'e', 1)
+
+/* A COMPOUND_LITERAL_EXPR represents a C99 compound literal. The
+ COMPOND_LITERAL_EXPR_DECL is the decl for the anonymous object
+ represented by the COMPOUND_LITERAL; the DECL_INITIAL of that
+ decl is the CONSTRUCTOR that initializes the compound literal. */
+DEFTREECODE (COMPOUND_LITERAL_EXPR, "compound_literal_expr", 'e', 1)
OpenPOWER on IntegriCloud