Author: Kazu Hirata Date: 2022-08-13T12:55:47-07:00 New Revision: 2b43bd0bd98a4ae556b0a75b8016e27a0642b8a4
URL: https://github.com/llvm/llvm-project/commit/2b43bd0bd98a4ae556b0a75b8016e27a0642b8a4 DIFF: https://github.com/llvm/llvm-project/commit/2b43bd0bd98a4ae556b0a75b8016e27a0642b8a4.diff LOG: Remove unused forward declarations (NFC) Added: Modified: clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h clang/include/clang/AST/Stmt.h clang/lib/CodeGen/CGHLSLRuntime.h Removed: ################################################################################ diff --git a/clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h b/clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h index 2c6b1d2805697..e9af9a5bb04fd 100644 --- a/clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h +++ b/clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h @@ -34,7 +34,6 @@ #include <vector> namespace clang { -class LangOptions; namespace pseudo { /// Describes the structure of a source file, as seen by the preprocessor. diff --git a/clang/include/clang/AST/Stmt.h b/clang/include/clang/AST/Stmt.h index 52c0ca51ea866..49a66a1ea5b86 100644 --- a/clang/include/clang/AST/Stmt.h +++ b/clang/include/clang/AST/Stmt.h @@ -59,7 +59,6 @@ class RecordDecl; class SourceManager; class StringLiteral; class Token; -class ValueDecl; class VarDecl; //===----------------------------------------------------------------------===// diff --git a/clang/lib/CodeGen/CGHLSLRuntime.h b/clang/lib/CodeGen/CGHLSLRuntime.h index a8a7c9c7929e6..a7246f7f8919b 100644 --- a/clang/lib/CodeGen/CGHLSLRuntime.h +++ b/clang/lib/CodeGen/CGHLSLRuntime.h @@ -18,13 +18,10 @@ #include "clang/Basic/HLSLRuntime.h" namespace llvm { -class Value; class GlobalVariable; class Function; } // namespace llvm namespace clang { -class CallExpr; -class Type; class VarDecl; class FunctionDecl; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits