GCC Middle and Back End API Reference
|
Go to the source code of this file.
Macros | |
#define | setlocale(category, locale) (locale) |
#define | textdomain(domain) (domain) |
#define | bindtextdomain(domain, directory) (domain) |
#define | gettext(msgid) (msgid) |
#define | ngettext(singular, plural, n) fake_ngettext (singular, plural, n) |
#define | gcc_init_libintl() /* nothing @endverbatim */ |
#define | gcc_gettext_width(s) strlen (s) |
#define | _(msgid) gettext (msgid) |
#define | N_(msgid) msgid |
#define | G_(gmsgid) gmsgid |
Functions | |
const char * | fake_ngettext (const char *singular, const char *plural, unsigned long int n) |
char * | get_spaces (const char *) |
Variables | |
const char * | open_quote |
const char * | close_quote |
const char * | locale_encoding |
bool | locale_utf8 |
Used to immediately translate the argument.
Referenced by _fatal_insn(), simple_diagnostic_path::add_event(), simple_diagnostic_path::add_thread_event(), collect_execute(), default_pch_valid_p(), default_tree_printer(), diagnostic_build_prefix(), diagnostic_set_info(), display_help(), do_spec_1(), dump_active_plugins(), expand_call_inline(), fnotice(), free_path(), gcse_after_reload_main(), lhd_print_error_function(), driver::maybe_print_and_exit(), driver::maybe_run_linker(), merge_include_chains(), notice(), one_code_hoisting_pass(), one_cprop_pass(), one_pre_gcse_pass(), output_operand_lossage(), pch_option_mismatch(), print_asm_header_spec_function(), print_filtered_help(), print_specific_help(), print_version(), print_version(), print_version(), diagnostic_context::report_current_module(), scan_prog_file(), special_fname_builtin(), verbatim(), and diagnostic_text_output_format::~diagnostic_text_output_format().
#define bindtextdomain | ( | domain, | |
directory ) (domain) |
Like N_, but for GCC diagnostic format strings. See ABOUT-GCC-NLS for details.
Referenced by array_bounds_checker::check_array_ref(), copy_forbidden(), dbg_cnt_list_all_counters(), diag_returned_locals(), pass_walloca::execute(), execute(), expand_target_clones(), fold_comparison(), fold_range_test(), get_coverage_counts(), gimple_fold_builtin_strncat(), inline_forbidden_p(), inline_forbidden_p_stmt(), maybe_canonicalize_comparison(), maybe_warn_for_bound(), maybe_warn_pointless_strcmp(), oacc_loop_auto_partitions(), oacc_loop_fixed_partitions(), odr_types_equivalent_p(), read_counts_file(), run_attempt(), suggest_attribute(), warn_for_access(), and warn_string_no_nul().
#define gcc_gettext_width | ( | s | ) | strlen (s) |
Referenced by get_spaces().
#define gcc_init_libintl | ( | ) | /* nothing @endverbatim */ |
Referenced by general_init(), driver::global_initializations(), main(), main(), and main().
Used to mark strings that will be translated later.
Referenced by print_version(), read_count_file(), and diagnostic_context::report_current_module().
#define ngettext | ( | singular, | |
plural, | |||
n ) fake_ngettext (singular, plural, n) |
Referenced by diagnostic_n_impl(), format_string_diagnostic_t::emit_warning_n_va(), and main().
intl.h - internationalization Copyright (C) 1998-2024 Free Software Foundation, Inc. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
#define textdomain | ( | domain | ) | (domain) |
Stubs.
|
extern |
Return the indent for successive lines, using the width of the STR. STR must have been translated already. The string must be freed by the caller.
References gcc_gettext_width, and ggc_alloc().
Closing quotation mark for diagnostics.
Referenced by pp_end_quote(), and pp_format().
The name of the locale encoding.
Referenced by identifier_to_locale().
|
extern |
Whether the locale is using UTF-8.
Referenced by identifier_to_locale().
Message translation utilities. Copyright (C) 2001-2024 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Opening quotation mark for diagnostics.
Referenced by pp_begin_quote(), and pp_format().