1 //===--- ASTFwd.h ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===--------------------------------------------------------------===//
11 /// \brief Forward declaration of all AST node types.
13 //===-------------------------------------------------------------===//
15 #ifndef LLVM_CLANG_AST_ASTFWD_H
16 #define LLVM_CLANG_AST_ASTFWD_H
21 #define DECL(DERIVED, BASE) class DERIVED##Decl;
22 #include "clang/AST/DeclNodes.inc"
24 #define STMT(DERIVED, BASE) class DERIVED;
25 #include "clang/AST/StmtNodes.inc"
27 #define TYPE(DERIVED, BASE) class DERIVED##Type;
28 #include "clang/AST/TypeNodes.def"
29 class CXXCtorInitializer;
31 } // end namespace clang