mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Update CPPBackend to new API for AttrListPtr::get.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0aa32d5d0f
commit
e23642916b
@ -496,7 +496,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
|
|||||||
Out << "Attrs.push_back(PAWI);";
|
Out << "Attrs.push_back(PAWI);";
|
||||||
nl(Out);
|
nl(Out);
|
||||||
}
|
}
|
||||||
Out << name << "_PAL = AttrListPtr::get(Attrs.begin(), Attrs.end());";
|
Out << name << "_PAL = AttrListPtr::get(Attrs);";
|
||||||
nl(Out);
|
nl(Out);
|
||||||
out(); nl(Out);
|
out(); nl(Out);
|
||||||
Out << '}'; nl(Out);
|
Out << '}'; nl(Out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user