Summary:
LLVM guys did some clean-up of the Attribute getters/setters
and because of that the build was failing.
Reviewers: ldrumm
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D24382
llvm-svn: 281030
// if this argument is passed by val
if (call_attribs.hasAttribute(i, llvm::Attribute::ByVal)) {
// strip away the byval attribute
- call_inst->removeAttribute(
- i,
- llvm::Attribute::get(module.getContext(), llvm::Attribute::ByVal));
+ call_inst->removeAttribute(i, llvm::Attribute::ByVal);
changed = true;
}
}