Update CPPBackend to new API for AttrListPtr::get.

llvm-svn: 157624
This commit is contained in:
Nicolas Geoffray 2012-05-29 15:07:18 +00:00
parent 3de2a75997
commit 312b28ce9d
1 changed files with 1 additions and 1 deletions

View File

@ -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);