diff options
author | Alp Toker <alp@nuanti.com> | 2014-02-26 22:27:52 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-02-26 22:27:52 +0000 |
commit | c535072d0d408e5696496cf7e63a74ab933fcdad (patch) | |
tree | 8c0b496b00359afe48c21b4bc2e7d5e1b4df9e40 /clang/lib/Parse/ParseDecl.cpp | |
parent | d84f606debd1d4f229d870ce8c29eb3871f84c67 (diff) | |
download | bcm5719-llvm-c535072d0d408e5696496cf7e63a74ab933fcdad.tar.gz bcm5719-llvm-c535072d0d408e5696496cf7e63a74ab933fcdad.zip |
argument -> parameter terminology fixes for FunctionTypeInfo
This is a continuation of r199686.
llvm-svn: 202307
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 8efbc3db39e..8417c27ce82 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -308,8 +308,8 @@ void Parser::ParseGNUAttributeArgs(IdentifierInfo *AttrName, PrototypeScope.reset(new ParseScope(this, Scope::FunctionPrototypeScope | Scope::FunctionDeclarationScope | Scope::DeclScope)); - for (unsigned i = 0; i != FTI.NumArgs; ++i) { - ParmVarDecl *Param = cast<ParmVarDecl>(FTI.ArgInfo[i].Param); + for (unsigned i = 0; i != FTI.NumParams; ++i) { + ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param); Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); } } |