Mercurial > hg > CbC > CbC_gcc
comparison gcc/langhooks.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* The lang_hooks data structure. | 1 /* The lang_hooks data structure. |
2 Copyright (C) 2001-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2001-2018 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
346 for the positive and negative forms respectively. HANDLERS should | 346 for the positive and negative forms respectively. HANDLERS should |
347 be passed to any recursive handle_option calls. LOC is the | 347 be passed to any recursive handle_option calls. LOC is the |
348 location of the option. | 348 location of the option. |
349 | 349 |
350 Return true if the switch is valid, false if invalid. */ | 350 Return true if the switch is valid, false if invalid. */ |
351 bool (*handle_option) (size_t code, const char *arg, int value, int kind, | 351 bool (*handle_option) (size_t code, const char *arg, HOST_WIDE_INT value, |
352 location_t loc, | 352 int kind, location_t loc, |
353 const struct cl_option_handlers *handlers); | 353 const struct cl_option_handlers *handlers); |
354 | 354 |
355 /* Called when all command line options have been parsed to allow | 355 /* Called when all command line options have been parsed to allow |
356 further processing and initialization | 356 further processing and initialization |
357 | 357 |
392 thing that the assembler should talk about, set | 392 thing that the assembler should talk about, set |
393 DECL_ASSEMBLER_NAME to an appropriate IDENTIFIER_NODE. | 393 DECL_ASSEMBLER_NAME to an appropriate IDENTIFIER_NODE. |
394 Otherwise, set it to the ERROR_MARK_NODE to ensure that the | 394 Otherwise, set it to the ERROR_MARK_NODE to ensure that the |
395 assembler does not talk about it. */ | 395 assembler does not talk about it. */ |
396 void (*set_decl_assembler_name) (tree); | 396 void (*set_decl_assembler_name) (tree); |
397 | |
398 /* Overwrite the DECL_ASSEMBLER_NAME for a node. The name is being | |
399 changed (including to or from NULL_TREE). */ | |
400 void (*overwrite_decl_assembler_name) (tree, tree); | |
397 | 401 |
398 /* The front end can add its own statistics to -fmem-report with | 402 /* The front end can add its own statistics to -fmem-report with |
399 this hook. It should output to stderr. */ | 403 this hook. It should output to stderr. */ |
400 void (*print_statistics) (void); | 404 void (*print_statistics) (void); |
401 | 405 |
526 | 530 |
527 /* True if this language may use custom descriptors for nested functions | 531 /* True if this language may use custom descriptors for nested functions |
528 instead of trampolines. */ | 532 instead of trampolines. */ |
529 bool custom_function_descriptors; | 533 bool custom_function_descriptors; |
530 | 534 |
535 /* True if this language emits begin stmt notes. */ | |
536 bool emits_begin_stmt; | |
537 | |
531 /* Run all lang-specific selftests. */ | 538 /* Run all lang-specific selftests. */ |
532 void (*run_lang_selftests) (void); | 539 void (*run_lang_selftests) (void); |
533 | 540 |
534 /* Attempt to determine the source location of the substring. | 541 /* Attempt to determine the source location of the substring. |
535 If successful, return NULL and write the source location to *OUT_LOC. | 542 If successful, return NULL and write the source location to *OUT_LOC. |