mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 20:57:15 +00:00
Update call to the new syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168512 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f284aefa11
commit
b46702c800
@ -518,7 +518,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
|
||||
Out << "Attrs.push_back(PAWI);";
|
||||
nl(Out);
|
||||
}
|
||||
Out << name << "_PAL = AttrListPtr::get(Attrs);";
|
||||
Out << name << "_PAL = AttrListPtr::get(mod->getContext(), Attrs);";
|
||||
nl(Out);
|
||||
out(); nl(Out);
|
||||
Out << '}'; nl(Out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user