#include "config.h"#include "system.h"#include "coretypes.h"#include "tm.h"#include "rtl.h"#include "tree.h"#include "function.h"#include "cpplib.h"#include "c-pragma.h"#include "flags.h"#include "toplev.h"#include "ggc.h"#include "c-common.h"#include "output.h"#include "tm_p.h"#include "target.h"#include "gt-c-pragma.h"

Go to the source code of this file.
Defines | |
| #define | GCC_BAD(gmsgid) do { warning (gmsgid); return; } while (0) |
| #define | GCC_BAD2(gmsgid, arg) do { warning (gmsgid, arg); return; } while (0) |
Functions/Subroutines | |
| struct align_stack | GTY (()) |
| void | maybe_apply_pragma_weak (tree decl) |
| void | maybe_apply_pending_pragma_weaks (void) |
| static void | handle_pragma_weak (cpp_reader *ARG_UNUSED(dummy)) |
| void | add_to_renaming_pragma_list (tree oldname, tree newname) |
| tree | maybe_apply_renaming_pragma (tree decl, tree asmname) |
| static void | handle_pragma_visibility (cpp_reader *) |
| static void | handle_pragma_visibility (cpp_reader *dummy ATTRIBUTE_UNUSED) |
| void | c_register_pragma (const char *space, const char *name, void(*handler)(struct cpp_reader *)) |
| void | c_register_pragma_with_expansion (const char *space, const char *name, void(*handler)(struct cpp_reader *)) |
| void | init_pragma (void) |
Variables | |
| align_stack | |
| #define GCC_BAD | ( | gmsgid | ) | do { warning (gmsgid); return; } while (0) |
Definition at line 39 of file c-pragma.c.
Definition at line 40 of file c-pragma.c.
| void c_register_pragma | ( | const char * | space, | |
| const char * | name, | |||
| void(*)(struct cpp_reader *) | handler | |||
| ) |
Definition at line 666 of file c-pragma.c.
References cpp_register_pragma(), handler(), and parse_in.
Referenced by init_cp_pragma(), init_pragma(), m32c_register_pragmas(), and solaris_register_pragmas().
| void c_register_pragma_with_expansion | ( | const char * | space, | |
| const char * | name, | |||
| void(*)(struct cpp_reader *) | handler | |||
| ) |
Definition at line 673 of file c-pragma.c.
References cpp_register_pragma(), handler(), and parse_in.
Referenced by init_pragma(), and solaris_register_pragmas().
| struct align_stack GTY | ( | () | ) | [read, write] |
| static void handle_pragma_visibility | ( | cpp_reader *dummy | ATTRIBUTE_UNUSED | ) | [static] |
Definition at line 590 of file c-pragma.c.
References c_lex(), default_visibility, GCC_BAD, IDENTIFIER_POINTER, visibility_flags::inpragma, pop(), push(), str, strcmp(), VISIBILITY_DEFAULT, VISIBILITY_HIDDEN, VISIBILITY_INTERNAL, visibility_options, VISIBILITY_PROTECTED, and warning.
| static void handle_pragma_visibility | ( | cpp_reader * | ) | [static] |
Referenced by init_pragma().
| static void handle_pragma_weak | ( | cpp_reader * | ARG_UNUSEDdummy | ) | [static] |
Definition at line 327 of file c-pragma.c.
References assemble_alias(), c_lex(), DECL_P, GCC_BAD, identifier_global_value(), tree_cons, and warning.
Referenced by init_pragma().
Definition at line 681 of file c-pragma.c.
References c_common_pch_pragma(), c_register_pragma(), c_register_pragma_with_expansion(), handle_pragma_visibility(), handle_pragma_weak(), and REGISTER_TARGET_PRAGMAS.
Definition at line 268 of file c-pragma.c.
Referenced by finish_decl(), start_decl(), start_function(), and start_preparsed_function().
Definition at line 497 of file c-pragma.c.
Referenced by cp_finish_decl(), finish_decl(), and implicitly_declare().
Definition at line 48 of file c-pragma.c.
1.5.6