aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2008-04-21 09:20:29 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2008-04-21 09:20:29 +0000
commit009890be6c6e3f34630be0f086303d42c6aa867b (patch)
tree2b1bea3b93d788f69fb0e45c9825d752b2cd7d59 /libcpp/files.c
parentd82b799ce5aeb104f1cf6962be547149ab405530 (diff)
downloadgcc-009890be6c6e3f34630be0f086303d42c6aa867b.zip
gcc-009890be6c6e3f34630be0f086303d42c6aa867b.tar.gz
gcc-009890be6c6e3f34630be0f086303d42c6aa867b.tar.bz2
Access to most C builtins from Ada
2008-04-21 Olivier Hainque <hainque@adacore.com> ada/ Access to most C builtins from Ada * utils.c: #include "langhooks.h" and define GCC_DIAG_STYLE. (handle_pure_attribute, handle_novops_attribute, handle_nonnull_attribute, handle_sentinel_attribute, handle_noreturn_attribute, handle_malloc_attribute, handle_type_generic_attribute): New attribute handlers, from C fe. (gnat_internal_attribute_table): Map the new handlers. (gnat_init_decl_processing): Move call to gnat_install_builtins to ... (init_gigi_decls): ... here. (handle_const_attribute, handle_nothrow_attribute, builtin_decl_for): Move to a section dedicated to builtins processing. (build_void_list_node, builtin_type_for_size): New functions. (def_fn_type, get_nonnull_operand): Likewise. (install_builtin_elementary_type, install_builtin_function_types, install_builtin_attributes): Likewise. (fake_attribute_handler): Fake handler for attributes we don't support in Ada. (def_builtin_1): New function, worker for DEF_BUILTIN. (install_builtin_functions): New function. (gnat_install_builtins): Move to the builtins processing section. Now calling the newly introduced installers. testsuite/ * gnat.dg/bltins.adb: New testcase. From-SVN: r134504
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions