FreeBSD/contrib/gcc/cp/decl.c
/* Generate a FUNCTION_DECL with the typical flags for a runtime library
   function.  Not called directly.  */
Generate a FUNCTION_DECL with the typical flags for a runtime library
function.  Not called directly.
Generate a FUNCTION_DECL with the typical flags for a runtime library function . Not called directly .
static tree
build_library_fn_1 (tree name, enum tree_code operator_code, tree type)
{
  tree fn = build_lang_decl (FUNCTION_DECL, name, type);
  DECL_EXTERNAL (fn) = 1;
  TREE_PUBLIC (fn) = 1;
  DECL_ARTIFICIAL (fn) = 1;
  SET_OVERLOADED_OPERATOR_CODE (fn, operator_code);
  SET_DECL_LANGUAGE (fn, lang_c);
  DECL_VISIBILITY (fn) = VISIBILITY_DEFAULT;
  DECL_VISIBILITY_SPECIFIED (fn) = 1;
  return fn;
}
static tree build_library_fn_1 ( tree name , enum tree_code operator_code , tree type ) { tree fn = build_lang_decl ( FUNCTION_DECL , name , type ) ; DECL_EXTERNAL ( fn ) = 1 ; TREE_PUBLIC ( fn ) = 1 ; DECL_ARTIFICIAL ( fn ) = 1 ; SET_OVERLOADED_OPERATOR_CODE ( fn , operator_code ) ; SET_DECL_LANGUAGE ( fn , lang_c ) ; DECL_VISIBILITY ( fn ) = VISIBILITY_DEFAULT ; DECL_VISIBILITY_SPECIFIED ( fn ) = 1 ; return fn ; }
Generate a FUNCTION_DECL with the typical flags for a runtime library
function.
Generate a FUNCTION_DECL with the typical flags for a runtime library function .
/* Runtime library routines are, by definition, available in an
     external shared object.  */