osprey-gcc-4.2.0/fixincludes/fixtests.c File Reference

#include "fixlib.h"

Include dependency graph for fixtests.c:

Go to the source code of this file.

Data Types

type  test_entry_t

Defines

#define _ENV_(v, m, n, t)   extern tCC* v;
#define FIX_TEST_TABLE
#define TEST_FOR_FIX_PROC_HEAD(test)
#define _FT_(n, p)   { n, p },
#define TEST_TABLE_CT   (ARRAY_SIZE (test_table)-1)

Functions/Subroutines

ENV_TABLE typedef apply_fix_p_t t_test_proc (tCC *file, tCC *text)
 TEST_FOR_FIX_PROC_HEAD (machine_name_test)
 TEST_FOR_FIX_PROC_HEAD (stdc_0_in_system_headers_test)
apply_fix_p_t run_test (tCC *tname, tCC *fname, tCC *text)


Define Documentation

#define _ENV_ ( v,
m,
n,
 )     extern tCC* v;

Definition at line 50 of file fixtests.c.

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

#define FIX_TEST_TABLE

Value:

_FT_( "machine_name",     machine_name_test )       \
  _FT_( "stdc_0_in_system_headers",    stdc_0_in_system_headers_test )

Definition at line 61 of file fixtests.c.

#define TEST_FOR_FIX_PROC_HEAD ( test   ) 

Value:

static apply_fix_p_t test ( tCC* fname ATTRIBUTE_UNUSED, \
                            tCC* text  ATTRIBUTE_UNUSED )

Definition at line 65 of file fixtests.c.

#define TEST_TABLE_CT   (ARRAY_SIZE (test_table)-1)


Function Documentation

apply_fix_p_t run_test ( tCC *  tname,
tCC *  fname,
tCC *  text 
)

ENV_TABLE typedef apply_fix_p_t t_test_proc ( tCC *  file,
tCC *  text 
)

TEST_FOR_FIX_PROC_HEAD ( stdc_0_in_system_headers_test   ) 

Definition at line 118 of file fixtests.c.

References APPLY_FIX, NULL, and SKIP_FIX.

TEST_FOR_FIX_PROC_HEAD ( machine_name_test   ) 

Definition at line 69 of file fixtests.c.

References APPLY_FIX, base, IGNORE_ARG, mn_get_regexps(), REG_NOTBOL, regmatch_t::rm_eo, SKIP_FIX, strchr, and tCC.


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