GCC Middle and Back End API Reference
gencheck.c File Reference
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "all-tree.def"
Include dependency graph for gencheck.c:

Macros

#define DEFTREECODE(SYM, NAME, TYPE, LEN)   #SYM,
#define END_OF_BASE_TREE_CODES

Functions

static void usage (void)
int main (int argc, char **ARG_UNUSED(argv))

Variables

static const char *const tree_codes []

Macro Definition Documentation

#define DEFTREECODE (   SYM,
  NAME,
  TYPE,
  LEN 
)    #SYM,

Generate check macros for tree codes. Copyright (C) 1998-2013 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/.

#define END_OF_BASE_TREE_CODES

Function Documentation

int main ( int  argc,
char **  ARG_UNUSEDargv 
)

Print macros for checks based on each of the tree code names. However, since we include the tree nodes from all languages, we must check for duplicate names to avoid defining the same macro twice.

References tree_codes, and usage().

static void usage ( void  )
static

Referenced by main().


Variable Documentation

const char* const tree_codes[]
static
Initial value:
{
(char*) 0
}

Referenced by main().