diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2015-12-10 13:46:38 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-12-10 13:46:38 +0000 |
commit | 2ade427a371fae5c7b2138cde1d33d6bcbb64bcf (patch) | |
tree | 1534cb93d421f86108a0803fe2b6d764c1f8c8e2 /gcc/ada/gcc-interface/utils.c | |
parent | daf9817c1c929cdc23a520c5d6d599f52a5ed99c (diff) | |
download | gcc-2ade427a371fae5c7b2138cde1d33d6bcbb64bcf.zip gcc-2ade427a371fae5c7b2138cde1d33d6bcbb64bcf.tar.gz gcc-2ade427a371fae5c7b2138cde1d33d6bcbb64bcf.tar.bz2 |
gigi.h (create_var_decl): Adjust comment.
* gcc-interface/gigi.h (create_var_decl): Adjust comment.
(create_subprog_decl): Likewise.
* gcc-interface/utils.c (create_var_decl): Likewise.
(create_subprog_decl): Likewise.
From-SVN: r231511
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 10d3e22..23015f3 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -2344,6 +2344,8 @@ create_type_decl (tree name, tree type, bool artificial_p, bool debug_info_p, 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 @@ -3048,13 +3050,17 @@ create_label_decl (tree name, Node_Id gnat_node) 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 |