mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01: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…
x
Reference in New Issue
Block a user