aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/CGCall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 11e2ec2142..68fa0fa02f 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/lib/CodeGen/CGCall.cpp
@@ -537,8 +537,8 @@ void CodeGenModule::ConstructParamAttrList(const Decl *TargetDecl,
case ABIArgInfo::StructRet:
PAL.push_back(llvm::FnAttributeWithIndex::get(Index,
- llvm::ParamAttr::StructRet|
- llvm::ParamAttr::NoAlias));
+ llvm::ParamAttr::StructRet|
+ llvm::ParamAttr::NoAlias));
++Index;
break;