CONST_FLAG is true if this variable is constant, in which case we might
return a CONST_DECL node unless CONST_DECL_ALLOWED_P is false.
- PUBLIC_FLAG is true if this definition is to be made visible outside of
- the current compilation unit. This flag should be set when processing the
- variable definitions in a package specification.
+ PUBLIC_FLAG is true if this is for a reference to a public entity or for a
+ definition to be made visible outside of the current compilation unit, for
+ instance variable definitions in a package specification.
- EXTERN_FLAG is nonzero when processing an external variable declaration (as
+ EXTERN_FLAG is true when processing an external variable declaration (as
opposed to a definition: no storage is to be allocated for the variable).
STATIC_FLAG is only relevant when not at top level and indicates whether
DEBUG_INFO_P is true if we need to write debug information for it.
+ ATTR_LIST is the list of attributes to be attached to the variable.
+
GNAT_NODE is used for the position of the decl. */
extern tree create_var_decl (tree name, tree asm_name, tree type, tree init,
bool const_flag, bool public_flag,
the list of its parameters (a list of PARM_DECL nodes chained through the
DECL_CHAIN field).
- INLINE_STATUS, CONST_FLAG, PUBLIC_FLAG, EXTERN_FLAG, VOLATILE_FLAG as well
- as ATTR_LIST are used to set the appropriate fields in the FUNCTION_DECL.
+ INLINE_STATUS describes the inline flags to be set on the FUNCTION_DECL.
+
+ CONST_FLAG, PUBLIC_FLAG, EXTERN_FLAG, VOLATILE_FLAG are used to set the
+ appropriate flags on the FUNCTION_DECL.
ARTIFICIAL_P is true if the subprogram was generated by the compiler.
DEBUG_INFO_P is true if we need to write debug information for it.
+ ATTR_LIST is the list of attributes to be attached to the subprogram.
+
GNAT_NODE is used for the position of the decl. */
extern tree create_subprog_decl (tree name, tree asm_name, tree type,
tree param_decl_list,
DEBUG_INFO_P is true if we need to write debug information for it.
+ ATTR_LIST is the list of attributes to be attached to the variable.
+
GNAT_NODE is used for the position of the decl. */
tree
the list of its parameters (a list of PARM_DECL nodes chained through the
DECL_CHAIN field).
- INLINE_STATUS, CONST_FLAG, PUBLIC_FLAG, EXTERN_FLAG, VOLATILE_FLAG as well
- as ATTR_LIST are used to set the appropriate fields in the FUNCTION_DECL.
+ INLINE_STATUS describes the inline flags to be set on the FUNCTION_DECL.
+
+ CONST_FLAG, PUBLIC_FLAG, EXTERN_FLAG, VOLATILE_FLAG are used to set the
+ appropriate flags on the FUNCTION_DECL.
ARTIFICIAL_P is true if the subprogram was generated by the compiler.
DEBUG_INFO_P is true if we need to write debug information for it.
+ ATTR_LIST is the list of attributes to be attached to the subprogram.
+
GNAT_NODE is used for the position of the decl. */
tree