From c535072d0d408e5696496cf7e63a74ab933fcdad Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Wed, 26 Feb 2014 22:27:52 +0000 Subject: argument -> parameter terminology fixes for FunctionTypeInfo This is a continuation of r199686. llvm-svn: 202307 --- clang/lib/Parse/ParseDecl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Parse/ParseDecl.cpp') 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(FTI.ArgInfo[i].Param); + for (unsigned i = 0; i != FTI.NumParams; ++i) { + ParmVarDecl *Param = cast(FTI.Params[i].Param); Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); } } -- cgit v1.2.3