From e59964b67e026cde7a1438a8e91ca077a90810e0 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 23 Jan 2022 13:28:06 -0800 Subject: [PATCH] [clang] Remove unused forward declarations (NFC) --- clang/include/clang/AST/ASTContext.h | 1 - clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index c5946b662cb2..ed35e73ce4cf 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/include/clang/AST/ASTContext.h @@ -99,7 +99,6 @@ class CXXMethodDecl; class CXXRecordDecl; class DiagnosticsEngine; class ParentMapContext; -class DynTypedNode; class DynTypedNodeList; class Expr; enum class FloatModeKind; diff --git a/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h b/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h index fb7bd4e8afa2..b74af5e8f24f 100644 --- a/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h +++ b/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h @@ -17,9 +17,6 @@ namespace diff { using DynTypedNode = DynTypedNode; -class SyntaxTree; -struct ComparisonOptions; - /// Within a tree, this identifies a node by its preorder offset. struct NodeId { private: