diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-02-20 06:23:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-02-20 06:23:21 +0000 |
| commit | 90669d050097a4ecada92f160d58207957835e0d (patch) | |
| tree | 88cb277e4b5b1e54aaa9576c246d428c3d2a3ea3 /clang/lib/CodeGen | |
| parent | fa62dc3483f9dc7433ef71341926401259627717 (diff) | |
| download | bcm5719-llvm-90669d050097a4ecada92f160d58207957835e0d.tar.gz bcm5719-llvm-90669d050097a4ecada92f160d58207957835e0d.zip | |
switch ObjCMethodDecl's parameter list from being explicitly managed to an ObjCList.
llvm-svn: 65114
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 45b386f4261..42f671a7e61 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -63,7 +63,7 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(const ObjCMethodDecl *MD) { ArgTys.push_back(MD->getSelfDecl()->getType()); ArgTys.push_back(Context.getObjCSelType()); // FIXME: Kill copy? - for (ObjCMethodDecl::param_const_iterator i = MD->param_begin(), + for (ObjCMethodDecl::param_iterator i = MD->param_begin(), e = MD->param_end(); i != e; ++i) ArgTys.push_back((*i)->getType()); return getFunctionInfo(MD->getResultType(), ArgTys); |

