aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-06-14 22:04:40 -0700
committerKazu Hirata <kazu@google.com>2023-06-14 22:04:40 -0700
commit8fd80d1d136685688ff49c9d80552bbb7addbda4 (patch)
treefcb38a4a3f81495b97e30cb58b7460fab0c98459 /clang/lib/CodeGen/CodeGenModule.h
parentab95a410dbc41d1d3c725446297debef642da116 (diff)
downloadllvm-8fd80d1d136685688ff49c9d80552bbb7addbda4.zip
llvm-8fd80d1d136685688ff49c9d80552bbb7addbda4.tar.gz
llvm-8fd80d1d136685688ff49c9d80552bbb7addbda4.tar.bz2
[CodeGen] Remove unused function GetOrCreateRTTIProxyGlobalVariable
The last use was removed by: commit 46f366494f3ca8cc98daa6fb4f29c7c446c176b6 Author: Fangrui Song <i@maskray.me> Date: Sat May 20 08:24:20 2023 -0700 This patch also removes RTTIProxyMap, which becomes unused once I remove GetOrCreateRTTIProxyGlobalVariable. Differential Revision: https://reviews.llvm.org/D152782
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 43d61b4..2d2cce8 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -590,8 +590,6 @@ private:
MetadataTypeMap VirtualMetadataIdMap;
MetadataTypeMap GeneralizedMetadataIdMap;
- llvm::DenseMap<const llvm::Constant *, llvm::GlobalVariable *> RTTIProxyMap;
-
// Helps squashing blocks of TopLevelStmtDecl into a single llvm::Function
// when used with -fincremental-extensions.
std::pair<std::unique_ptr<CodeGenFunction>, const TopLevelStmtDecl *>
@@ -1503,9 +1501,6 @@ public:
std::vector<const CXXRecordDecl *>
getMostBaseClasses(const CXXRecordDecl *RD);
- llvm::GlobalVariable *
- GetOrCreateRTTIProxyGlobalVariable(llvm::Constant *Addr);
-
/// Get the declaration of std::terminate for the platform.
llvm::FunctionCallee getTerminateFn();