osprey-gcc/libcpp/include/cpplib.h File Reference

#include <sys/types.h>
#include "symtab.h"
#include "line-map.h"

Include dependency graph for cpplib.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  cpp_options
type  cpp_callbacks
type  cpp_dir
type  cpp_num

Defines

#define TTYPE_TABLE
#define OP(e, s)   CPP_ ## e,
#define TK(e, s)   CPP_ ## e,
#define PREV_WHITE   (1 << 0)
#define DIGRAPH   (1 << 1)
#define STRINGIFY_ARG   (1 << 2)
#define PASTE_LEFT   (1 << 3)
#define NAMED_OP   (1 << 4)
#define NO_EXPAND   (1 << 5)
#define BOL   (1 << 6)
#define NODE_OPERATOR   (1 << 0)
#define NODE_POISONED   (1 << 1)
#define NODE_BUILTIN   (1 << 2)
#define NODE_DIAGNOSTIC   (1 << 3)
#define NODE_WARN   (1 << 4)
#define NODE_DISABLED   (1 << 5)
#define NODE_MACRO_ARG   (1 << 6)
#define CPP_HASHNODE(HNODE)   ((cpp_hashnode *) (HNODE))
#define HT_NODE(NODE)   ((ht_identifier *) (NODE))
#define NODE_LEN(NODE)   HT_LEN (&(NODE)->ident)
#define NODE_NAME(NODE)   HT_STR (&(NODE)->ident)
#define CPP_HASHNODE_VALUE_IDX(HNODE)
#define CPP_N_CATEGORY   0x000F
#define CPP_N_INVALID   0x0000
#define CPP_N_INTEGER   0x0001
#define CPP_N_FLOATING   0x0002
#define CPP_N_WIDTH   0x00F0
#define CPP_N_SMALL   0x0010
#define CPP_N_MEDIUM   0x0020
#define CPP_N_LARGE   0x0040
#define CPP_N_RADIX   0x0F00
#define CPP_N_DECIMAL   0x0100
#define CPP_N_HEX   0x0200
#define CPP_N_OCTAL   0x0400
#define CPP_N_UNSIGNED   0x1000
#define CPP_N_IMAGINARY   0x2000
#define CPP_DL_WARNING   0x00
#define CPP_DL_WARNING_SYSHDR   0x01
#define CPP_DL_PEDWARN   0x02
#define CPP_DL_ERROR   0x03
#define CPP_DL_ICE   0x04
#define CPP_DL_EXTRACT(l)   (l & 0xf)
#define CPP_DL_WARNING_P(l)

Typedefs

typedef struct cpp_reader cpp_reader
typedef struct cpp_buffer cpp_buffer
typedef struct cpp_options cpp_options
typedef struct cpp_token cpp_token
typedef struct cpp_string cpp_string
typedef struct cpp_hashnode cpp_hashnode
typedef struct cpp_macro cpp_macro
typedef struct cpp_callbacks cpp_callbacks
typedef struct cpp_dir cpp_dir
typedef unsigned CPPCHAR_SIGNED_T cppchar_t
typedef CPPCHAR_SIGNED_T cppchar_signed_t
typedef const char *(* missing_header_cb )(cpp_reader *, const char *header, cpp_dir **)
typedef unsigned HOST_WIDE_INT cpp_num_part
typedef struct cpp_num cpp_num
typedef int(* cpp_cb )(cpp_reader *, cpp_hashnode *, void *)

Enumerations

enum  cpp_ttype {
  N_TTYPES, N_TTYPES, N_TTYPES, CPP_LAST_EQ = CPP_MAX,
  CPP_FIRST_DIGRAPH = CPP_HASH, CPP_LAST_PUNCTUATOR = CPP_DOT_STAR, CPP_LAST_CPP_OP = CPP_LESS_EQ, N_TTYPES,
  CPP_LAST_EQ = CPP_LSHIFT, CPP_FIRST_DIGRAPH = CPP_HASH, CPP_LAST_PUNCTUATOR = CPP_ATSIGN, CPP_LAST_CPP_OP = CPP_LESS_EQ
}
enum  c_lang {
  CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94,
  CLK_STDC99, CLK_GNUCXX, CLK_CXX98, CLK_ASM,
  CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94,
  CLK_STDC99, CLK_GNUCXX, CLK_CXX98, CLK_ASM,
  CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94,
  CLK_STDC99, CLK_GNUCXX, CLK_CXX98, CLK_ASM,
  CLK_GNUC89 = 0, CLK_GNUC99, CLK_STDC89, CLK_STDC94,
  CLK_STDC99, CLK_GNUCXX, CLK_CXX98, CLK_ASM
}
enum  cpp_token_fld_kind {
  CPP_TOKEN_FLD_NODE, CPP_TOKEN_FLD_SOURCE, CPP_TOKEN_FLD_STR, CPP_TOKEN_FLD_ARG_NO,
  CPP_TOKEN_FLD_NONE, CPP_TOKEN_FLD_NODE, CPP_TOKEN_FLD_SOURCE, CPP_TOKEN_FLD_STR,
  CPP_TOKEN_FLD_ARG_NO, CPP_TOKEN_FLD_PRAGMA, CPP_TOKEN_FLD_NONE
}
enum  cpp_deps_style {
  DEPS_NONE = 0, DEPS_USER, DEPS_SYSTEM, DEPS_NONE = 0,
  DEPS_USER, DEPS_SYSTEM
}
enum  node_type {
  NT_VOID = 0, NT_MACRO, NT_ASSERTION, INITIAL = 0,
  FREE, PRECOLORED, SIMPLIFY, SIMPLIFY_SPILL,
  SIMPLIFY_FAT, FREEZE, SPILL, SELECT,
  SPILLED, COALESCED, COLORED, LAST_NODE_TYPE,
  T_DEFINE = 1, T_INCLUDE, T_INCLUDE_NEXT, T_IFDEF,
  T_IFNDEF, T_IF, T_ELSE, T_ELIF,
  T_UNDEF, T_LINE, T_ENDIF, T_ERROR,
  T_WARNING, T_ASSERT, T_UNASSERT, T_SPECLINE,
  T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
  T_VERSION, T_TIME, T_CONST, T_MACRO,
  T_SPEC_DEFINED, T_UNUSED, NT_VOID = 0, NT_MACRO,
  NT_ASSERTION, INITIAL = 0, FREE, PRECOLORED,
  SIMPLIFY, SIMPLIFY_SPILL, SIMPLIFY_FAT, FREEZE,
  SPILL, SELECT, SPILLED, COALESCED,
  COLORED, LAST_NODE_TYPE, T_DEFINE = 1, T_INCLUDE,
  T_INCLUDE_NEXT, T_IFDEF, T_IFNDEF, T_IF,
  T_ELSE, T_ELIF, T_UNDEF, T_LINE,
  T_ENDIF, T_ERROR, T_WARNING, T_ASSERT,
  T_UNASSERT, T_SPECLINE, T_DATE, T_FILE,
  T_BASE_FILE, T_INCLUDE_LEVEL, T_VERSION, T_TIME,
  T_CONST, T_MACRO, T_SPEC_DEFINED, T_UNUSED,
  NT_VOID = 0, NT_MACRO, NT_ASSERTION, NT_VOID = 0,
  NT_MACRO, NT_ASSERTION
}
enum  builtin_type {
  BT_SPECLINE = 0, BT_DATE, BT_FILE, BT_BASE_FILE,
  BT_INCLUDE_LEVEL, BT_TIME, BT_STDC, BT_PRAGMA,
  BT_SPECLINE = 0, BT_DATE, BT_FILE, BT_BASE_FILE,
  BT_INCLUDE_LEVEL, BT_TIME, BT_STDC, BT_PRAGMA,
  DEF_PRIMITIVE_TYPE, BT_SPECLINE = 0, BT_DATE, BT_FILE,
  BT_BASE_FILE, BT_INCLUDE_LEVEL, BT_TIME, BT_STDC,
  BT_PRAGMA, BT_SPECLINE = 0, BT_DATE, BT_FILE,
  BT_BASE_FILE, BT_INCLUDE_LEVEL, BT_TIME, BT_STDC,
  BT_PRAGMA, BT_TIMESTAMP
}
enum  {
  NTV_MACRO, NTV_ANSWER, NTV_BUILTIN, NTV_ARGUMENT,
  NTV_NONE
}

Functions/Subroutines

struct cpp_string GTY (())
enum cpp_token_fld_kind cpp_token_val_index (cpp_token *tok)
cpp_readercpp_create_reader (enum c_lang, struct ht *, struct line_maps *)
void cpp_set_lang (cpp_reader *, enum c_lang)
void cpp_set_include_chains (cpp_reader *, cpp_dir *, cpp_dir *, int)
cpp_optionscpp_get_options (cpp_reader *)
cpp_callbackscpp_get_callbacks (cpp_reader *)
void cpp_set_callbacks (cpp_reader *, cpp_callbacks *)
struct depscpp_get_deps (cpp_reader *)
const char * cpp_read_main_file (cpp_reader *, const char *)
void cpp_init_builtins (cpp_reader *, int)
void cpp_post_options (cpp_reader *)
void cpp_init_iconv (cpp_reader *)
int cpp_finish (cpp_reader *, FILE *deps_stream)
void cpp_destroy (cpp_reader *)
unsigned int cpp_errors (cpp_reader *)
unsigned int cpp_token_len (const cpp_token *)
unsigned char * cpp_token_as_text (cpp_reader *, const cpp_token *)
unsigned char * cpp_spell_token (cpp_reader *, const cpp_token *, unsigned char *)
void cpp_register_pragma (cpp_reader *, const char *, const char *, void(*)(cpp_reader *), bool)
void cpp_handle_deferred_pragma (cpp_reader *, const cpp_string *)
int cpp_avoid_paste (cpp_reader *, const cpp_token *, const cpp_token *)
const cpp_tokencpp_get_token (cpp_reader *)
const unsigned char * cpp_macro_definition (cpp_reader *, const cpp_hashnode *)
void _cpp_backup_tokens (cpp_reader *, unsigned int)
cppchar_t cpp_interpret_charconst (cpp_reader *, const cpp_token *, unsigned int *, int *)
bool cpp_interpret_string (cpp_reader *, const cpp_string *, size_t, cpp_string *, bool)
bool cpp_interpret_string_notranslate (cpp_reader *, const cpp_string *, size_t, cpp_string *, bool)
cppchar_t cpp_host_to_exec_charset (cpp_reader *, cppchar_t)
void cpp_define (cpp_reader *, const char *)
void cpp_assert (cpp_reader *, const char *)
void cpp_undef (cpp_reader *, const char *)
void cpp_unassert (cpp_reader *, const char *)
void cpp_undef_all (cpp_reader *)
cpp_buffercpp_push_buffer (cpp_reader *, const unsigned char *, size_t, int)
int cpp_defined (cpp_reader *, const unsigned char *, int)
unsigned cpp_classify_number (cpp_reader *, const cpp_token *)
cpp_num cpp_interpret_integer (cpp_reader *, const cpp_token *, unsigned int type)
cpp_num cpp_num_sign_extend (cpp_num, size_t)
void cpp_error (cpp_reader *, int, const char *msgid,...) ATTRIBUTE_PRINTF_3
void cpp_errno (cpp_reader *, int, const char *msgid)
void cpp_error_with_line (cpp_reader *, int, source_location, unsigned, const char *msgid,...) ATTRIBUTE_PRINTF_5
int cpp_ideq (const cpp_token *, const char *)
void cpp_output_line (cpp_reader *, FILE *)
void cpp_output_token (const cpp_token *, FILE *)
const char * cpp_type2name (enum cpp_ttype)
cppchar_t cpp_parse_escape (cpp_reader *, const unsigned char **pstr, const unsigned char *limit, int wide)
cpp_hashnodecpp_lookup (cpp_reader *, const unsigned char *, unsigned int)
void cpp_forall_identifiers (cpp_reader *, cpp_cb, void *)
void cpp_scan_nooutput (cpp_reader *)
int cpp_sys_macro_p (cpp_reader *)
unsigned char * cpp_quote_string (unsigned char *, const unsigned char *, unsigned int)
bool cpp_included (cpp_reader *, const char *)
void cpp_make_system_header (cpp_reader *, int, int)
bool cpp_push_include (cpp_reader *, const char *)
void cpp_change_file (cpp_reader *, enum lc_reason, const char *)
const char * cpp_get_path (struct _cpp_file *)
cpp_dircpp_get_dir (struct _cpp_file *)
cpp_buffercpp_get_buffer (cpp_reader *)
struct _cpp_filecpp_get_file (cpp_buffer *)
cpp_buffercpp_get_prev (cpp_buffer *)
int cpp_save_state (cpp_reader *, FILE *)
int cpp_write_pch_deps (cpp_reader *, FILE *)
int cpp_write_pch_state (cpp_reader *, FILE *)
int cpp_valid_state (cpp_reader *, const char *, int)
void cpp_prepare_state (cpp_reader *, struct save_macro_data **)
int cpp_read_state (cpp_reader *, const char *, FILE *, struct save_macro_data *)

Variables

const char * progname


Define Documentation

#define BOL   (1 << 6)

Definition at line 174 of file cpplib.h.

#define CPP_DL_ERROR   0x03

#define CPP_DL_EXTRACT (  )     (l & 0xf)

Definition at line 744 of file cpplib.h.

Referenced by _cpp_begin_message().

#define CPP_DL_ICE   0x04

#define CPP_DL_PEDWARN   0x02

#define CPP_DL_WARNING   0x00

#define CPP_DL_WARNING_P (  ) 

Value:

Definition at line 746 of file cpplib.h.

Referenced by _cpp_begin_message().

#define CPP_DL_WARNING_SYSHDR   0x01

Definition at line 735 of file cpplib.h.

Referenced by _cpp_begin_message(), cp_cpp_error(), cpp_valid_state(), and do_warning().

#define CPP_HASHNODE ( HNODE   )     ((cpp_hashnode *) (HNODE))

Definition at line 530 of file cpplib.h.

#define CPP_HASHNODE_VALUE_IDX ( HNODE   ) 

Value:

((HNODE.flags & NODE_MACRO_ARG) ? NTV_ARGUMENT    \
   : HNODE.type == NT_MACRO ? ((HNODE.flags & NODE_BUILTIN)   \
             ? NTV_BUILTIN : NTV_MACRO) \
   : HNODE.type == NT_ASSERTION ? NTV_ANSWER      \
   : NTV_NONE)

Definition at line 545 of file cpplib.h.

#define CPP_N_CATEGORY   0x000F

Definition at line 698 of file cpplib.h.

#define CPP_N_DECIMAL   0x0100

Definition at line 709 of file cpplib.h.

#define CPP_N_FLOATING   0x0002

Definition at line 701 of file cpplib.h.

#define CPP_N_HEX   0x0200

Definition at line 710 of file cpplib.h.

#define CPP_N_IMAGINARY   0x2000

Definition at line 714 of file cpplib.h.

#define CPP_N_INTEGER   0x0001

Definition at line 700 of file cpplib.h.

#define CPP_N_INVALID   0x0000

Definition at line 699 of file cpplib.h.

#define CPP_N_LARGE   0x0040

Definition at line 706 of file cpplib.h.

#define CPP_N_MEDIUM   0x0020

Definition at line 705 of file cpplib.h.

#define CPP_N_OCTAL   0x0400

Definition at line 711 of file cpplib.h.

#define CPP_N_RADIX   0x0F00

Definition at line 708 of file cpplib.h.

#define CPP_N_SMALL   0x0010

Definition at line 704 of file cpplib.h.

#define CPP_N_UNSIGNED   0x1000

Definition at line 713 of file cpplib.h.

#define CPP_N_WIDTH   0x00F0

Definition at line 703 of file cpplib.h.

#define DIGRAPH   (1 << 1)

Definition at line 169 of file cpplib.h.

#define HT_NODE ( NODE   )     ((ht_identifier *) (NODE))

Definition at line 531 of file cpplib.h.

#define NAMED_OP   (1 << 4)

Definition at line 172 of file cpplib.h.

#define NO_EXPAND   (1 << 5)

Definition at line 173 of file cpplib.h.

#define NODE_BUILTIN   (1 << 2)

Definition at line 502 of file cpplib.h.

#define NODE_DIAGNOSTIC   (1 << 3)

Definition at line 503 of file cpplib.h.

#define NODE_DISABLED   (1 << 5)

Definition at line 505 of file cpplib.h.

#define NODE_LEN ( NODE   )     HT_LEN (&(NODE)->ident)

Definition at line 532 of file cpplib.h.

#define NODE_MACRO_ARG   (1 << 6)

#define NODE_NAME ( NODE   )     HT_STR (&(NODE)->ident)

Definition at line 533 of file cpplib.h.

#define NODE_OPERATOR   (1 << 0)

Definition at line 500 of file cpplib.h.

#define NODE_POISONED   (1 << 1)

Definition at line 501 of file cpplib.h.

#define NODE_WARN   (1 << 4)

Definition at line 504 of file cpplib.h.

#define OP ( e,
 )     CPP_ ## e,

Definition at line 140 of file cpplib.h.

#define PASTE_LEFT   (1 << 3)

Definition at line 171 of file cpplib.h.

#define PREV_WHITE   (1 << 0)

Definition at line 168 of file cpplib.h.

#define STRINGIFY_ARG   (1 << 2)

Definition at line 170 of file cpplib.h.

#define TK ( e,
 )     CPP_ ## e,

Definition at line 141 of file cpplib.h.

#define TTYPE_TABLE

Definition at line 56 of file cpplib.h.


Typedef Documentation

Definition at line 36 of file cpplib.h.

Definition at line 42 of file cpplib.h.

typedef int(* cpp_cb)(cpp_reader *, cpp_hashnode *, void *)

Definition at line 783 of file cpplib.h.

Definition at line 43 of file cpplib.h.

Definition at line 40 of file cpplib.h.

Definition at line 41 of file cpplib.h.

Definition at line 682 of file cpplib.h.

typedef unsigned HOST_WIDE_INT cpp_num_part

Definition at line 681 of file cpplib.h.

Definition at line 37 of file cpplib.h.

Definition at line 35 of file cpplib.h.

Definition at line 39 of file cpplib.h.

Definition at line 38 of file cpplib.h.

typedef CPPCHAR_SIGNED_T cppchar_signed_t

Definition at line 234 of file cpplib.h.

typedef unsigned CPPCHAR_SIGNED_T cppchar_t

Definition at line 233 of file cpplib.h.

typedef const char*(* missing_header_cb)(cpp_reader *, const char *header, cpp_dir **)

Definition at line 426 of file cpplib.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
NTV_MACRO 
NTV_ANSWER 
NTV_BUILTIN 
NTV_ARGUMENT 
NTV_NONE 

Definition at line 537 of file cpplib.h.

Enumerator:
BT_SPECLINE 
BT_DATE 
BT_FILE 
BT_BASE_FILE 
BT_INCLUDE_LEVEL 
BT_TIME 
BT_STDC 
BT_PRAGMA 
BT_SPECLINE 
BT_DATE 
BT_FILE 
BT_BASE_FILE 
BT_INCLUDE_LEVEL 
BT_TIME 
BT_STDC 
BT_PRAGMA 
DEF_PRIMITIVE_TYPE 
BT_SPECLINE 
BT_DATE 
BT_FILE 
BT_BASE_FILE 
BT_INCLUDE_LEVEL 
BT_TIME 
BT_STDC 
BT_PRAGMA 
BT_SPECLINE 
BT_DATE 
BT_FILE 
BT_BASE_FILE 
BT_INCLUDE_LEVEL 
BT_TIME 
BT_STDC 
BT_PRAGMA 
BT_TIMESTAMP 

Definition at line 518 of file cpplib.h.

enum c_lang

Enumerator:
CLK_GNUC89 
CLK_GNUC99 
CLK_STDC89 
CLK_STDC94 
CLK_STDC99 
CLK_GNUCXX 
CLK_CXX98 
CLK_ASM 
CLK_GNUC89 
CLK_GNUC99 
CLK_STDC89 
CLK_STDC94 
CLK_STDC99 
CLK_GNUCXX 
CLK_CXX98 
CLK_ASM 
CLK_GNUC89 
CLK_GNUC99 
CLK_STDC89 
CLK_STDC94 
CLK_STDC99 
CLK_GNUCXX 
CLK_CXX98 
CLK_ASM 
CLK_GNUC89 
CLK_GNUC99 
CLK_STDC89 
CLK_STDC94 
CLK_STDC99 
CLK_GNUCXX 
CLK_CXX98 
CLK_ASM 

Definition at line 157 of file cpplib.h.

Enumerator:
DEPS_NONE 
DEPS_USER 
DEPS_SYSTEM 
DEPS_NONE 
DEPS_USER 
DEPS_SYSTEM 

Definition at line 237 of file cpplib.h.

Enumerator:
CPP_TOKEN_FLD_NODE 
CPP_TOKEN_FLD_SOURCE 
CPP_TOKEN_FLD_STR 
CPP_TOKEN_FLD_ARG_NO 
CPP_TOKEN_FLD_NONE 
CPP_TOKEN_FLD_NODE 
CPP_TOKEN_FLD_SOURCE 
CPP_TOKEN_FLD_STR 
CPP_TOKEN_FLD_ARG_NO 
CPP_TOKEN_FLD_PRAGMA 
CPP_TOKEN_FLD_NONE 

Definition at line 178 of file cpplib.h.

enum cpp_ttype

Enumerator:
N_TTYPES 
N_TTYPES 
N_TTYPES 
CPP_LAST_EQ 
CPP_FIRST_DIGRAPH 
CPP_LAST_PUNCTUATOR 
CPP_LAST_CPP_OP 
N_TTYPES 
CPP_LAST_EQ 
CPP_FIRST_DIGRAPH 
CPP_LAST_PUNCTUATOR 
CPP_LAST_CPP_OP 

Definition at line 142 of file cpplib.h.

enum node_type

Enumerator:
NT_VOID 
NT_MACRO 
NT_ASSERTION 
INITIAL 
FREE 
PRECOLORED 
SIMPLIFY 
SIMPLIFY_SPILL 
SIMPLIFY_FAT 
FREEZE 
SPILL 
SELECT 
SPILLED 
COALESCED 
COLORED 
LAST_NODE_TYPE 
T_DEFINE 
T_INCLUDE 
T_INCLUDE_NEXT 
T_IFDEF 
T_IFNDEF 
T_IF 
T_ELSE 
T_ELIF 
T_UNDEF 
T_LINE 
T_ENDIF 
T_ERROR 
T_WARNING 
T_ASSERT 
T_UNASSERT 
T_SPECLINE 
T_DATE 
T_FILE 
T_BASE_FILE 
T_INCLUDE_LEVEL 
T_VERSION 
T_TIME 
T_CONST 
T_MACRO 
T_SPEC_DEFINED 
T_UNUSED 
NT_VOID 
NT_MACRO 
NT_ASSERTION 
INITIAL 
FREE 
PRECOLORED 
SIMPLIFY 
SIMPLIFY_SPILL 
SIMPLIFY_FAT 
FREEZE 
SPILL 
SELECT 
SPILLED 
COALESCED 
COLORED 
LAST_NODE_TYPE 
T_DEFINE 
T_INCLUDE 
T_INCLUDE_NEXT 
T_IFDEF 
T_IFNDEF 
T_IF 
T_ELSE 
T_ELIF 
T_UNDEF 
T_LINE 
T_ENDIF 
T_ERROR 
T_WARNING 
T_ASSERT 
T_UNASSERT 
T_SPECLINE 
T_DATE 
T_FILE 
T_BASE_FILE 
T_INCLUDE_LEVEL 
T_VERSION 
T_TIME 
T_CONST 
T_MACRO 
T_SPEC_DEFINED 
T_UNUSED 
NT_VOID 
NT_MACRO 
NT_ASSERTION 
NT_VOID 
NT_MACRO 
NT_ASSERTION 

Definition at line 509 of file cpplib.h.


Function Documentation

void _cpp_backup_tokens ( cpp_reader ,
unsigned  int 
)

Definition at line 1216 of file cppmacro.c.

void cpp_assert ( cpp_reader ,
const char *   
)

Definition at line 1834 of file cpplib.c.

int cpp_avoid_paste ( cpp_reader ,
const cpp_token ,
const cpp_token  
)

Definition at line 1733 of file cpplex.c.

void cpp_change_file ( cpp_reader ,
enum  lc_reason,
const char *   
)

Definition at line 1047 of file files.c.

unsigned cpp_classify_number ( cpp_reader ,
const cpp_token  
)

Definition at line 158 of file cppexp.c.

cpp_reader* cpp_create_reader ( enum  c_lang,
struct ht ,
struct line_maps  
)

void cpp_define ( cpp_reader ,
const char *   
)

Definition at line 1786 of file cpplib.c.

int cpp_defined ( cpp_reader ,
const unsigned char *  ,
int   
)

Definition at line 105 of file cpphash.c.

void cpp_destroy ( cpp_reader  ) 

Referenced by process_file().

void cpp_errno ( cpp_reader ,
int  ,
const char *  msgid 
)

Definition at line 183 of file cpperror.c.

void cpp_error ( cpp_reader ,
int  ,
const char *  msgid,
  ... 
)

Definition at line 136 of file errors.c.

void cpp_error_with_line ( cpp_reader ,
int  ,
source_location  ,
unsigned  ,
const char *  msgid,
  ... 
)

unsigned int cpp_errors ( cpp_reader  ) 

Definition at line 1878 of file cpplib.c.

int cpp_finish ( cpp_reader ,
FILE deps_stream 
)

Referenced by c_common_finish(), and process_file().

void cpp_forall_identifiers ( cpp_reader ,
cpp_cb  ,
void  
)

Definition at line 113 of file identifiers.c.

cpp_buffer* cpp_get_buffer ( cpp_reader  ) 

Definition at line 1373 of file files.c.

cpp_callbacks* cpp_get_callbacks ( cpp_reader  ) 

Definition at line 1894 of file cpplib.c.

struct deps* cpp_get_deps ( cpp_reader  )  [read]

Definition at line 2026 of file directives.c.

cpp_dir* cpp_get_dir ( struct _cpp_file  ) 

Definition at line 1364 of file files.c.

struct _cpp_file* cpp_get_file ( cpp_buffer  )  [read]

Definition at line 1381 of file files.c.

cpp_options* cpp_get_options ( cpp_reader  ) 

Definition at line 1886 of file cpplib.c.

const char* cpp_get_path ( struct _cpp_file  ) 

Definition at line 1356 of file files.c.

cpp_buffer* cpp_get_prev ( cpp_buffer  ) 

Definition at line 1390 of file files.c.

const cpp_token* cpp_get_token ( cpp_reader  ) 

Definition at line 1109 of file cppmacro.c.

void cpp_handle_deferred_pragma ( cpp_reader ,
const cpp_string  
)

cppchar_t cpp_host_to_exec_charset ( cpp_reader ,
cppchar_t   
)

Definition at line 732 of file charset.c.

int cpp_ideq ( const cpp_token ,
const char *   
)

Definition at line 75 of file lex.c.

bool cpp_included ( cpp_reader ,
const char *   
)

Definition at line 529 of file cppfiles.c.

void cpp_init_builtins ( cpp_reader ,
int   
)

void cpp_init_iconv ( cpp_reader  ) 

Definition at line 680 of file charset.c.

cppchar_t cpp_interpret_charconst ( cpp_reader ,
const cpp_token ,
unsigned int *  ,
int *   
)

Definition at line 2057 of file cpplex.c.

cpp_num cpp_interpret_integer ( cpp_reader ,
const cpp_token ,
unsigned int  type 
)

Definition at line 325 of file cppexp.c.

bool cpp_interpret_string ( cpp_reader ,
const cpp_string ,
size_t  ,
cpp_string ,
bool   
)

Definition at line 1196 of file charset.c.

bool cpp_interpret_string_notranslate ( cpp_reader ,
const cpp_string ,
size_t  ,
cpp_string ,
bool   
)

Definition at line 1251 of file charset.c.

cpp_hashnode* cpp_lookup ( cpp_reader ,
const unsigned char *  ,
unsigned  int 
)

Definition at line 94 of file cpphash.c.

const unsigned char* cpp_macro_definition ( cpp_reader ,
const cpp_hashnode  
)

Definition at line 1671 of file cppmacro.c.

void cpp_make_system_header ( cpp_reader ,
int  ,
int   
)

Definition at line 631 of file cppfiles.c.

cpp_num cpp_num_sign_extend ( cpp_num  ,
size_t   
)

Definition at line 1083 of file cppexp.c.

void cpp_output_line ( cpp_reader ,
FILE  
)

Definition at line 1788 of file cpplex.c.

void cpp_output_token ( const cpp_token ,
FILE  
)

Definition at line 1263 of file lex.c.

cppchar_t cpp_parse_escape ( cpp_reader ,
const unsigned char **  pstr,
const unsigned char *  limit,
int  wide 
)

Definition at line 1912 of file cpplex.c.

void cpp_post_options ( cpp_reader  ) 

void cpp_prepare_state ( cpp_reader ,
struct save_macro_data **   
)

Definition at line 612 of file pch.c.

Referenced by c_common_read_pch().

cpp_buffer* cpp_push_buffer ( cpp_reader ,
const unsigned char *  ,
size_t  ,
int   
)

Definition at line 2037 of file directives.c.

bool cpp_push_include ( cpp_reader ,
const char *   
)

Definition at line 1123 of file files.c.

unsigned char* cpp_quote_string ( unsigned char *  ,
const unsigned char *  ,
unsigned  int 
)

Definition at line 306 of file cppmacro.c.

const char* cpp_read_main_file ( cpp_reader ,
const char *   
)

int cpp_read_state ( cpp_reader ,
const char *  ,
FILE ,
struct save_macro_data  
)

Definition at line 629 of file pch.c.

Referenced by c_common_read_pch().

void cpp_register_pragma ( cpp_reader ,
const char *  ,
const char *  ,
void(*)(cpp_reader *)  ,
bool   
)

int cpp_save_state ( cpp_reader ,
FILE  
)

Definition at line 193 of file pch.c.

Referenced by pch_init().

void cpp_scan_nooutput ( cpp_reader  ) 

Definition at line 1198 of file cppmacro.c.

void cpp_set_callbacks ( cpp_reader ,
cpp_callbacks  
)

Definition at line 1910 of file cpplib.c.

void cpp_set_include_chains ( cpp_reader ,
cpp_dir ,
cpp_dir ,
int   
)

Definition at line 1154 of file files.c.

void cpp_set_lang ( cpp_reader ,
enum  c_lang 
)

unsigned char* cpp_spell_token ( cpp_reader ,
const cpp_token ,
unsigned char *   
)

int cpp_sys_macro_p ( cpp_reader  ) 

Definition at line 1187 of file cppmacro.c.

unsigned char* cpp_token_as_text ( cpp_reader ,
const cpp_token  
)

Definition at line 1609 of file cpplex.c.

unsigned int cpp_token_len ( const cpp_token  ) 

Definition at line 1175 of file lex.c.

enum cpp_token_fld_kind cpp_token_val_index ( cpp_token tok  ) 

Definition at line 1572 of file lex.c.

const char* cpp_type2name ( enum  cpp_ttype  ) 

Definition at line 1625 of file cpplex.c.

void cpp_unassert ( cpp_reader ,
const char *   
)

Definition at line 1843 of file cpplib.c.

void cpp_undef ( cpp_reader ,
const char *   
)

Definition at line 1825 of file cpplib.c.

void cpp_undef_all ( cpp_reader  ) 

Definition at line 570 of file directives.c.

int cpp_valid_state ( cpp_reader ,
const char *  ,
int   
)

Definition at line 417 of file pch.c.

Referenced by c_common_valid_pch().

int cpp_write_pch_deps ( cpp_reader ,
FILE  
)

Definition at line 300 of file pch.c.

Referenced by c_common_write_pch().

int cpp_write_pch_state ( cpp_reader ,
FILE  
)

Definition at line 347 of file pch.c.

Referenced by c_common_write_pch().

struct cpp_string GTY ( ()   )  [read, write]

Definition at line 161 of file cpplib.h.


Variable Documentation

const char* progname

Definition at line 35 of file errors.c.


Generated on Wed Apr 8 15:30:27 2009 for Open64 by  doxygen 1.5.6