================ Comment at: include/clang/AST/ASTTypeTraits.h:28-33 @@ +27,8 @@ +/// \brief Forward declare the types to be used below. +#define DECL(DERIVED, BASE) class DERIVED##Decl; +#include "clang/AST/DeclNodes.inc" +#define STMT(DERIVED, BASE) class DERIVED; +#include "clang/AST/StmtNodes.inc" +#define TYPE(DERIVED, BASE) class DERIVED##Type; +#include "clang/AST/TypeNodes.def" + ---------------- Maybe this could be pulled into clang/AST/ASTFwd.h? It could probably be used in a lot of other places...
But this file already includes clang/AST/Decl.h, so why are these forward declarations needed? http://llvm-reviews.chandlerc.com/D815 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
