diff options
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index f53f744..31edc5f 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -1272,6 +1272,7 @@ struct GTY(()) saved_scope { vec<tree, va_gc> *lang_base; tree lang_name; tree template_parms; + tree deduction_guide_type; cp_binding_level *x_previous_class_level; tree x_saved_tree; @@ -5422,6 +5423,9 @@ struct cp_decl_specifier_seq { BOOL_BITFIELD gnu_thread_keyword_p : 1; /* True iff the type is a decltype. */ BOOL_BITFIELD decltype_p : 1; + /* True iff the declaration declares a constructor or C++17 deduction + guide. */ + BOOL_BITFIELD constructor_p : 1; }; /* The various kinds of declarators. */ |