aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-11-16 16:30:41 -0500
committerJason Merrill <jason@gcc.gnu.org>2016-11-16 16:30:41 -0500
commitfc72d1ed3c8b11437981487755a7d6edfaf06d22 (patch)
tree2550dbae7c32ca1011f1b45cf788c648f8f3c47d /gcc/tree.h
parent8e2be5aefcc78b213c2f44e50cbec2c799f40f8b (diff)
downloadgcc-fc72d1ed3c8b11437981487755a7d6edfaf06d22.zip
gcc-fc72d1ed3c8b11437981487755a7d6edfaf06d22.tar.gz
gcc-fc72d1ed3c8b11437981487755a7d6edfaf06d22.tar.bz2
Fix tuple decomposition decltype.
* decl.c (store_decomp_type, lookup_decomp_type): New. (cp_finish_decomp): Call store_decomp_type. * semantics.c (finish_decltype_type): Call lookup_decomp_type. * cp-tree.h: Declare lookup_decomp_type. From-SVN: r242513
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 6a98b6e..0a82a4a 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2457,8 +2457,7 @@ extern void decl_value_expr_insert (tree, tree);
/* In a VAR_DECL or PARM_DECL, the location at which the value may be found,
if transformations have made this more complicated than evaluating the
- decl itself. This should only be used for debugging; once this field has
- been set, the decl itself may not legitimately appear in the function. */
+ decl itself. */
#define DECL_HAS_VALUE_EXPR_P(NODE) \
(TREE_CHECK3 (NODE, VAR_DECL, PARM_DECL, RESULT_DECL) \
->decl_common.decl_flag_2)