osprey-gcc/fixincludes/fixfixes.c File Reference

#include "fixlib.h"

Include dependency graph for fixfixes.c:

Go to the source code of this file.

Data Types

type  fix_entry_t

Defines

#define GTYPE_SE_CT   1
#define FIXUP_TABLE
#define FIX_PROC_HEAD(fix)
#define SCRATCHSZ   64
#define _FT_(n, p)   { n, p },
#define FIX_TABLE_CT   (ARRAY_SIZE (fix_table)-1)

Typedefs

typedef void t_fix_proc (const char *, const char *, tFixDesc *)

Functions/Subroutines

static const char * emit_gnu_type (const char *text, regmatch_t *rm)
static void format_write (tCC *format, tCC *text, regmatch_t av[])
 FIX_PROC_HEAD (format_fix)
 FIX_PROC_HEAD (char_macro_use_fix)
 FIX_PROC_HEAD (char_macro_def_fix)
 FIX_PROC_HEAD (machine_name_fix)
 FIX_PROC_HEAD (wrap_fix)
 FIX_PROC_HEAD (gnu_type_fix)
void apply_fix (tFixDesc *p_fixd, tCC *filname)

Variables

tSCC zNeedsArg [] = "fixincl error: `%s' needs %s argument (c_fix_arg[%d])\n"


Define Documentation

#define _FT_ ( n,
p   )     { n, p },

#define FIX_PROC_HEAD ( fix   ) 

Value:

static void fix (const char* filname ATTRIBUTE_UNUSED , \
                 const char* text ATTRIBUTE_UNUSED , \
                 tFixDesc* p_fixd ATTRIBUTE_UNUSED )

Definition at line 77 of file fixfixes.c.

#define FIX_TABLE_CT   (ARRAY_SIZE (fix_table)-1)

#define FIXUP_TABLE

Value:

_FT_( "char_macro_def",   char_macro_def_fix ) \
  _FT_( "char_macro_use",   char_macro_use_fix ) \
  _FT_( "format",           format_fix )         \
  _FT_( "machine_name",     machine_name_fix )   \
  _FT_( "wrap",             wrap_fix )           \
  _FT_( "gnu_type",         gnu_type_fix )

Definition at line 68 of file fixfixes.c.

#define GTYPE_SE_CT   1

Definition at line 54 of file fixfixes.c.

#define SCRATCHSZ   64

Definition at line 487 of file fixfixes.c.


Typedef Documentation

typedef void t_fix_proc(const char *, const char *, tFixDesc *)

Definition at line 62 of file fixfixes.c.


Function Documentation

void apply_fix ( tFixDesc p_fixd,
tCC *  filname 
)

static const char* emit_gnu_type ( const char *  text,
regmatch_t rm 
) [static]

Definition at line 131 of file fixfixes.c.

References fwrite, NUL, pe, printf(), regmatch_t::rm_eo, regmatch_t::rm_so, strcmp(), TOUPPER, and tSCC.

FIX_PROC_HEAD ( gnu_type_fix   ) 

FIX_PROC_HEAD ( wrap_fix   ) 

FIX_PROC_HEAD ( machine_name_fix   ) 

FIX_PROC_HEAD ( char_macro_def_fix   ) 

FIX_PROC_HEAD ( char_macro_use_fix   ) 

FIX_PROC_HEAD ( format_fix   ) 

static void format_write ( tCC *  format,
tCC *  text,
regmatch_t  av[] 
) [static]

Definition at line 179 of file fixfixes.c.

References c, fwrite, ISDIGIT, len, NUL, putchar(), regmatch_t::rm_eo, regmatch_t::rm_so, and unsigned.


Variable Documentation

tSCC zNeedsArg[] = "fixincl error: `%s' needs %s argument (c_fix_arg[%d])\n"

Definition at line 60 of file fixfixes.c.


Generated on Wed Apr 8 15:50:11 2009 for Open64 by  doxygen 1.5.6