[clang] 30f9eb1 - [clang] Remove unused forward declarations (NFC)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 20 14:32:22 PST 2022
Author: Kazu Hirata
Date: 2022-11-20T14:32:17-08:00
New Revision: 30f9eb1eb81cb3cac9016da1fb79e2ff80f766d6
URL: https://github.com/llvm/llvm-project/commit/30f9eb1eb81cb3cac9016da1fb79e2ff80f766d6
DIFF: https://github.com/llvm/llvm-project/commit/30f9eb1eb81cb3cac9016da1fb79e2ff80f766d6.diff
LOG: [clang] Remove unused forward declarations (NFC)
Added:
Modified:
clang/include/clang/Serialization/ModuleManager.h
clang/lib/AST/Interp/EvalEmitter.h
clang/lib/CodeGen/CGHLSLRuntime.h
Removed:
################################################################################
diff --git a/clang/include/clang/Serialization/ModuleManager.h b/clang/include/clang/Serialization/ModuleManager.h
index 1623dd4460368..5f453c3bfa965 100644
--- a/clang/include/clang/Serialization/ModuleManager.h
+++ b/clang/include/clang/Serialization/ModuleManager.h
@@ -39,7 +39,6 @@ class FileManager;
class GlobalModuleIndex;
class HeaderSearch;
class InMemoryModuleCache;
-class ModuleMap;
class PCHContainerReader;
namespace serialization {
diff --git a/clang/lib/AST/Interp/EvalEmitter.h b/clang/lib/AST/Interp/EvalEmitter.h
index 560ce6f6f4701..72433778f23f8 100644
--- a/clang/lib/AST/Interp/EvalEmitter.h
+++ b/clang/lib/AST/Interp/EvalEmitter.h
@@ -23,7 +23,6 @@
#include "llvm/Support/Error.h"
namespace clang {
-class FunctionDecl;
namespace interp {
class Context;
class Function;
diff --git a/clang/lib/CodeGen/CGHLSLRuntime.h b/clang/lib/CodeGen/CGHLSLRuntime.h
index 976f925ed1c84..5cc2c89da0f8c 100644
--- a/clang/lib/CodeGen/CGHLSLRuntime.h
+++ b/clang/lib/CodeGen/CGHLSLRuntime.h
@@ -37,7 +37,6 @@ class VarDecl;
class ParmVarDecl;
class HLSLBufferDecl;
class HLSLResourceBindingAttr;
-class CallExpr;
class Type;
class DeclContext;
More information about the cfe-commits
mailing list