summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-02-26 22:27:52 +0000
committerAlp Toker <alp@nuanti.com>2014-02-26 22:27:52 +0000
commitc535072d0d408e5696496cf7e63a74ab933fcdad (patch)
tree8c0b496b00359afe48c21b4bc2e7d5e1b4df9e40 /clang/lib/Parse/ParseDecl.cpp
parentd84f606debd1d4f229d870ce8c29eb3871f84c67 (diff)
downloadbcm5719-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.cpp4
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);
}
}
OpenPOWER on IntegriCloud