[clang] e59964b - [clang] Remove unused forward declarations (NFC)

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 23 13:28:29 PST 2022


Author: Kazu Hirata
Date: 2022-01-23T13:28:06-08:00
New Revision: e59964b67e026cde7a1438a8e91ca077a90810e0

URL: https://github.com/llvm/llvm-project/commit/e59964b67e026cde7a1438a8e91ca077a90810e0
DIFF: https://github.com/llvm/llvm-project/commit/e59964b67e026cde7a1438a8e91ca077a90810e0.diff

LOG: [clang] Remove unused forward declarations (NFC)

Added: 
    

Modified: 
    clang/include/clang/AST/ASTContext.h
    clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h
index c5946b662cb29..ed35e73ce4cf9 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 fb7bd4e8afa23..b74af5e8f24f5 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:


        


More information about the cfe-commits mailing list