aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-17 23:14:49 +0000
committerMark Mitchell <mark@codesourcery.com>1999-09-17 23:14:49 +0000
commit9b691119387c13b087d3dbf32c612af254c98c3a (patch)
treef87e9cb0945e8ed2bbeff1f18cc090e059fa5130 /gcc/cp/lex.c
parentf912fbb4153725af72cbf31f7d52642537caa5a5 (diff)
* cp-tree.def (CLEANUP_STMT): Fix spelling in dumps.
(TRY_BLOCK): Likewise. (HANDLER): Likewise. (START_CATCH_STMT): New tree node. (SCOPE_STMT): Likewise. * cp-tree.h (SCOPE_BEGIN_P): New macro. (SCOPE_NULLIFIED_P): Likewise. (struct lang_decl_flags): Add pending_inline_p. Adjust dummy. (struct lang_decl): Add saved_language_function. (DECL_PENDING_INLINE_INFO): Adjust documentation. (DECL_PENDING_INLINE_P): New macro. (TYPE_TI_ARGS): Fix typo in comment. (DECL_SAVED_TREE): Add to documentation. (DECL_SAVED_FUNCTION_DATA): New macro. (START_CATCH_TYPE): Likewise. (SCOPE_END_P): New macro. (declare_parm_level): Don't declare. * decl.c (mark_lang_function): New function, split out from mark_cp_function_context. (save_function_data): New function. (declare_parm_level): Remove. (finish_function): Use save_function_data to squirrel away important stuff for later use. (mark_cp_function_context): Use mark_function_data. (lang_mark_tree): Likewise. * lex.c (begin_definition_of_inclass_inline): Set DECL_PENDING_INLINE_P. (store_pending_inline): Clear it. * pt.c (tsubst_decl): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@29488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index e1a0c099ce1..e714dffaca7 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -1288,6 +1288,7 @@ begin_definition_of_inclass_inline (pi)
/* Pass back a handle to the rest of the inline functions, so that they
can be processed later. */
DECL_PENDING_INLINE_INFO (pi->fndecl) = 0;
+ DECL_PENDING_INLINE_P (pi->fndecl) = 0;
interface_unknown = pi->interface == 1;
interface_only = pi->interface == 0;
}
@@ -1510,6 +1511,7 @@ store_pending_inline (decl, t)
{
t->fndecl = decl;
DECL_PENDING_INLINE_INFO (decl) = t;
+ DECL_PENDING_INLINE_P (decl) = 1;
/* Because we use obstacks, we must process these in precise order. */
t->next = pending_inlines;