mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Update call to the new syntax.
llvm-svn: 168512
This commit is contained in:
parent
e5caa7eb3e
commit
7ee0b7e4dc
@ -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…
Reference in New Issue
Block a user