forked from OSchip/llvm-project
parent
9519823271
commit
6966727299
|
@ -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