diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-23 12:34:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-23 12:34:58 +0200 |
commit | 64ff415ed33a733f9a297b1526403bfb8f391c63 (patch) | |
tree | d0f02c10e2bc9c068538719186f0683e7743e314 /odb/gcc.hxx | |
parent | 4867605e59aa35e588f6f812c42ea95dffc0bbb3 (diff) |
Semantic graph and parsing code
Currently covers/handles namespace, class definitions (including bases
and data members), and typedefs in namespace-scopes.
Diffstat (limited to 'odb/gcc.hxx')
-rw-r--r-- | odb/gcc.hxx | 35 |
1 files changed, 35 insertions, 0 deletions
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 <boris@codesynthesis.com> +// 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 <stdlib.h> +#include <gmp.h> + +#include <cstdlib> // 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 |