Remove stray paren that got in while attempting to fix the build for AttributeList

llvm-svn: 298402
This commit is contained in:
Reid Kleckner
2017-03-21 17:15:50 +00:00
parent 4dc0324ff8
commit f76a8ac5a9

View File

@@ -266,7 +266,7 @@ bool fixupRSAllocationStructByValCalls(llvm::Module &module) {
// inspect all of the arguments in the call
for (auto &arg : func->args()) {
if (arg.hasByValAttr()) {
arg.removeAttr(llvm::Attribute::ByVal));
arg.removeAttr(llvm::Attribute::ByVal);
changed = true;
}
}