forked from OSchip/llvm-project
Update CPPBackend to new API for AttrListPtr::get.
llvm-svn: 157624
This commit is contained in:
parent
3de2a75997
commit
312b28ce9d
|
@ -496,7 +496,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
|
|||
Out << "Attrs.push_back(PAWI);";
|
||||
nl(Out);
|
||||
}
|
||||
Out << name << "_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());";
|
||||
Out << name << "_PAL = AttrListPtr::get(Attrs);";
|
||||
nl(Out);
|
||||
out(); nl(Out);
|
||||
Out << '}'; nl(Out);
|
||||
|
|
Loading…
Reference in New Issue