summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-06-24 04:05:48 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-06-24 04:05:48 +0000
commit59f779213626990295f21b93d3f18f432513da34 (patch)
treecc77755b71dc773d2a39a20a94ba8336e3d1891c /clang/lib/CodeGen/CodeGenFunction.cpp
parentf440d267e3e391b25bea2980d13f849f1fffeb99 (diff)
downloadbcm5719-llvm-59f779213626990295f21b93d3f18f432513da34.tar.gz
bcm5719-llvm-59f779213626990295f21b93d3f18f432513da34.zip
Use more ArrayRefs
No functional change is intended, just a small refactoring. llvm-svn: 273647
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 2dc4c12ce2e..e914d793559 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -949,7 +949,7 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
CGM.getCXXABI().buildThisParam(*this, Args);
}
- for (auto *Param : FD->params()) {
+ for (auto *Param : FD->parameters()) {
Args.push_back(Param);
if (!Param->hasAttr<PassObjectSizeAttr>())
continue;
OpenPOWER on IntegriCloud