OSDN Git Service

PR c++/31513
[pf3gnuchains/gcc-fork.git] / gcc / cp / cp-tree.def
index 83e1e53..a0feb30 100644 (file)
@@ -367,7 +367,7 @@ DEFTREECODE (STATIC_ASSERT, "static_assert", tcc_exceptional, 0)
 
    Values is a (template) parameter pack. When tuple<int, float,
    double> is instantiated, the Values parameter pack is instantiated
-   with the argment pack <int, float, double>. ARGUMENT_PACK_ARGS will
+   with the argument pack <int, float, double>. ARGUMENT_PACK_ARGS will
    be a TREE_VEC containing int, float, and double.  */
 DEFTREECODE (TYPE_ARGUMENT_PACK, "type_argument_pack", tcc_type, 0)
 
@@ -422,6 +422,11 @@ DEFTREECODE (EXPR_PACK_EXPANSION, "expr_pack_expansion", tcc_expression, 1)
    index is a machine integer.  */
 DEFTREECODE (ARGUMENT_PACK_SELECT, "argument_pack_select", tcc_exceptional, 0)
 
+/** C++ extensions. */
+
+/* Represents a trait expression during template expansion.  */
+DEFTREECODE (TRAIT_EXPR, "trait_expr", tcc_exceptional, 0)
+
 /*
 Local variables:
 mode:c