[clang] Forward-declare DynTypedNode (NFC)

This patch adds a forward declaraiton of DynTypedNode.

DumpAST.h is relying on the forward declaration of DynTypedNode in
ASTContext.h, which is undesirable.
This commit is contained in:
Kazu Hirata 2022-01-23 13:28:04 -08:00
parent ab1add6adc
commit ee591a64a7

View File

@ -34,6 +34,7 @@
#include "clang/AST/ASTContext.h"
namespace clang {
class DynTypedNode;
namespace syntax {
class TokenBuffer;
} // namespace syntax