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