summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGRtti.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-10-30 01:52:02 +0000
committerAnders Carlsson <andersca@mac.com>2009-10-30 01:52:02 +0000
commit958c9f8524963fcee47e5cc8a4393ea59b5f5955 (patch)
treeaa2403e5ee4778f8861224a8a625285d410cdf05 /clang/lib/CodeGen/CGRtti.cpp
parent4246f00e0cc99d30e6699c1d7368034ce7125e6e (diff)
downloadbcm5719-llvm-958c9f8524963fcee47e5cc8a4393ea59b5f5955.tar.gz
bcm5719-llvm-958c9f8524963fcee47e5cc8a4393ea59b5f5955.zip
Fix thinko, mangleCXXRtti should obviously take a QualType!
llvm-svn: 85565
Diffstat (limited to 'clang/lib/CodeGen/CGRtti.cpp')
-rw-r--r--clang/lib/CodeGen/CGRtti.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGRtti.cpp b/clang/lib/CodeGen/CGRtti.cpp
index 8351db552a2..7af15f0a8ca 100644
--- a/clang/lib/CodeGen/CGRtti.cpp
+++ b/clang/lib/CodeGen/CGRtti.cpp
@@ -23,8 +23,7 @@ llvm::Constant *CodeGenModule::GenerateRtti(const CXXRecordDecl *RD) {
llvm::SmallString<256> OutName;
llvm::raw_svector_ostream Out(OutName);
- mangleCXXRtti(getMangleContext(),
- Context.getTagDeclType(RD).getTypePtr(), Out);
+ mangleCXXRtti(getMangleContext(), Context.getTagDeclType(RD), Out);
llvm::GlobalVariable::LinkageTypes linktype;
linktype = llvm::GlobalValue::WeakAnyLinkage;
OpenPOWER on IntegriCloud