clang API Documentation

ASTFwd.h
Go to the documentation of this file.
00001 //===--- ASTFwd.h ----------------------------------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===--------------------------------------------------------------===//
00009 ///
00010 /// \file
00011 /// \brief Forward declaration of all AST node types.
00012 ///
00013 //===-------------------------------------------------------------===//
00014 
00015 #ifndef LLVM_CLANG_AST_ASTFWD_H
00016 #define LLVM_CLANG_AST_ASTFWD_H
00017 
00018 namespace clang {
00019 
00020 class Decl;
00021 #define DECL(DERIVED, BASE) class DERIVED##Decl;
00022 #include "clang/AST/DeclNodes.inc"
00023 class Stmt;
00024 #define STMT(DERIVED, BASE) class DERIVED;
00025 #include "clang/AST/StmtNodes.inc"
00026 class Type;
00027 #define TYPE(DERIVED, BASE) class DERIVED##Type;
00028 #include "clang/AST/TypeNodes.def"
00029 class CXXCtorInitializer;
00030 
00031 } // end namespace clang
00032 
00033 #endif