Lines Matching refs:fndecl

6032   tree fndecl;
6052 fndecl = build_lang_decl (FUNCTION_DECL, get_identifier (name), fntype);
6055 TREE_PUBLIC (fndecl) = 0;
6056 DECL_ARTIFICIAL (fndecl) = 1;
6061 DECL_INLINE (fndecl) = 1;
6062 DECL_DECLARED_INLINE_P (fndecl) = 1;
6063 DECL_INTERFACE_KNOWN (fndecl) = 1;
6070 DECL_CONTEXT (parmdecl) = fndecl;
6072 DECL_ARGUMENTS (fndecl) = parmdecl;
6075 pushdecl (fndecl);
6076 start_preparsed_function (fndecl, NULL_TREE, SF_PRE_PARSED);
11551 tree fndecl = current_function_decl;
11601 DECL_ARGUMENTS (fndecl) = getdecls ();
11604 DECL_ARGUMENTS (fndecl) = NULL_TREE;
11610 current_binding_level->names = chainon (nonparms, DECL_ARGUMENTS (fndecl));
11807 outer_curly_brace_block (tree fndecl)
11809 tree block = BLOCK_SUBBLOCKS (DECL_INITIAL (fndecl));
11829 tree fndecl = current_function_decl;
11838 if (fndecl == NULL_TREE)
11841 if (DECL_NONSTATIC_MEMBER_FUNCTION_P (fndecl)
11842 && DECL_VIRTUAL_P (fndecl)
11845 tree fnclass = DECL_CONTEXT (fndecl);
11846 if (fndecl == CLASSTYPE_KEY_METHOD (fnclass))
11851 fntype = TREE_TYPE (fndecl);
11853 /* TREE_READONLY (fndecl) = 1;
11861 gcc_assert (DECL_INITIAL (fndecl) == error_mark_node);
11865 if (!DECL_CLONED_FUNCTION_P (fndecl))
11895 DECL_SAVED_TREE (fndecl) = pop_stmt_list (DECL_SAVED_TREE (fndecl));
11903 && !DECL_REPLACEABLE_P (fndecl))
11904 TREE_NOTHROW (fndecl) = 1;
11920 DECL_SAVED_TREE (fndecl) = alloc_stmt_list ();
11946 && aggregate_value_p (TREE_TYPE (TREE_TYPE (fndecl)), fndecl)
11951 && (outer = outer_curly_brace_block (fndecl))
11953 finalize_nrv (&DECL_SAVED_TREE (fndecl), r, DECL_RESULT (fndecl));
11963 DECL_CONTEXT (DECL_RESULT (fndecl)) = fndecl;
11967 BLOCK_SUPERCONTEXT (DECL_INITIAL (fndecl)) = fndecl;
11971 save_function_data (fndecl);
11980 && !DECL_NAME (DECL_RESULT (fndecl))
11983 && (DECL_INLINE (fndecl) || processing_template_decl)
11985 && !DECL_CONSTRUCTOR_P (fndecl)
11986 && !DECL_DESTRUCTOR_P (fndecl))
11996 struct language_function *f = DECL_SAVED_FUNCTION_DATA (fndecl);
11997 cp_genericize (fndecl);
12009 c_warn_unused_result (&DECL_SAVED_TREE (fndecl));
12040 return fndecl;
12069 tree fndecl = grokdeclarator (declarator, declspecs, MEMFUNCDEF, 0,
12072 if (fndecl == error_mark_node)
12075 if (fndecl == NULL || TREE_CODE (fndecl) != FUNCTION_DECL)
12082 cplus_decl_attributes (&fndecl, attrlist, 0);
12085 if (fndecl == void_type_node)
12086 return fndecl;
12088 if (DECL_IN_AGGR_P (fndecl))
12090 if (DECL_CONTEXT (fndecl)
12091 && TREE_CODE (DECL_CONTEXT (fndecl)) != NAMESPACE_DECL)
12092 error ("%qD is already defined in class %qT", fndecl,
12093 DECL_CONTEXT (fndecl));
12097 check_template_shadow (fndecl);
12099 DECL_DECLARED_INLINE_P (fndecl) = 1;
12101 DECL_INLINE (fndecl) = 1;
12104 if (processing_template_decl && !DECL_TEMPLATE_SPECIALIZATION (fndecl))
12106 fndecl = push_template_decl (fndecl);
12107 if (fndecl == error_mark_node)
12108 return fndecl;
12111 if (! DECL_FRIEND_P (fndecl))
12113 if (TREE_CHAIN (fndecl))
12115 fndecl = copy_node (fndecl);
12116 TREE_CHAIN (fndecl) = NULL_TREE;
12120 finish_decl (fndecl, NULL_TREE, NULL_TREE);
12123 begin_scope (sk_function_parms, fndecl);
12125 DECL_IN_AGGR_P (fndecl) = 1;
12126 return fndecl;
12144 tree fndecl = decl;
12152 old_initial = DECL_INITIAL (fndecl);
12174 DECL_INITIAL (fndecl) = old_initial;
12179 if (DECL_FRIEND_P (fndecl))
12182 fndecl);