aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-17 07:09:17 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-17 07:09:17 +0000
commit1d7088d1d9dc99e5478c0184a3e21cafef2a0b53 (patch)
tree598b137c35656b077a098fbcc12d4bda2bcf4c1f /lib/CodeGen/CodeGenModule.h
parentf2945c0a74ec15d4d171b34a98e7ef109b9b414b (diff)
Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that takes a CXXRecordDecl since we were just creating a QualType from it anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 20c71dc89b..814b1ef694 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -212,12 +212,9 @@ public:
llvm::Constant *GetAddrOfFunction(GlobalDecl GD,
const llvm::Type *Ty = 0);
- /// GetAddrOfRTTI - Get the address of the RTTI structure for the given type.
- llvm::Constant *GetAddrOfRTTI(QualType Ty);
-
- /// GetAddrOfRTTI - Get the address of the RTTI structure for the given record
- /// decl.
- llvm::Constant *GetAddrOfRTTI(const CXXRecordDecl *RD);
+ /// GetAddrOfRTTIDescriptor - Get the address of the RTTI descriptor
+ /// for the given type.
+ llvm::Constant *GetAddrOfRTTIDescriptor(QualType Ty);
llvm::Constant *GetAddrOfThunk(GlobalDecl GD,
const ThunkAdjustment &ThisAdjustment);