diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-17 20:21:44 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-17 20:21:44 +0000 |
commit | 0d504c1da852e58ff802545c823ecff3b6c654b8 (patch) | |
tree | dbc785f5f96f155d4f640f7e13537b35968e013f /lib/CodeGen/CGObjCGNU.cpp | |
parent | 6d5e211fc5b324cc8847f4d791db2c773ef4791a (diff) |
Remove unneeded EncodingRecordTypes argument to getObjCEncodingForType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | lib/CodeGen/CGObjCGNU.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/CGObjCGNU.cpp b/lib/CodeGen/CGObjCGNU.cpp index 7d98ecff95..2a43cedcfc 100644 --- a/lib/CodeGen/CGObjCGNU.cpp +++ b/lib/CodeGen/CGObjCGNU.cpp @@ -707,9 +707,7 @@ void CGObjCGNU::GenerateClass(const ObjCImplementationDecl *OID) { IvarNames.push_back(CGM.GetAddrOfConstantCString((*iter)->getName())); // Get the type encoding for this ivar std::string TypeStr; - llvm::SmallVector<const RecordType *, 8> EncodingRecordTypes; - Context.getObjCEncodingForType((*iter)->getType(), TypeStr, - EncodingRecordTypes); + Context.getObjCEncodingForType((*iter)->getType(), TypeStr); IvarTypes.push_back(CGM.GetAddrOfConstantCString(TypeStr)); // Get the offset int offset = |