From 64ff415ed33a733f9a297b1526403bfb8f391c63 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Mar 2010 12:34:58 +0200 Subject: Semantic graph and parsing code Currently covers/handles namespace, class definitions (including bases and data members), and typedefs in namespace-scopes. --- odb/gcc.hxx | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 odb/gcc.hxx (limited to 'odb/gcc.hxx') diff --git a/odb/gcc.hxx b/odb/gcc.hxx new file mode 100644 index 0000000..ab54707 --- /dev/null +++ b/odb/gcc.hxx @@ -0,0 +1,35 @@ +// file : odb/gcc.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_GCC_TREE_HXX +#define ODB_GCC_TREE_HXX + +// GCC header includes to get the parse tree declarations. The order +// is important and doesn't follow any kind of logic. +// + +#include +#include + +#include // Include before GCC poisons some declarations. + +extern "C" +{ +#include "gcc-plugin.h" + +#include "config.h" +#include "system.h" +#include "coretypes.h" +#include "tree.h" +#include "intl.h" + +#include "tm.h" + +#include "diagnostic.h" +#include "c-common.h" +#include "cp/cp-tree.h" +} + +#endif // ODB_GCC_TREE_HXX -- cgit v1.1