mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -474,9 +474,9 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
|
||||
Out << "AttributeWithIndex PAWI;"; nl(Out);
|
||||
for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
|
||||
unsigned index = PAL.getSlot(i).Index;
|
||||
Attributes::Builder attrs(PAL.getSlot(i).Attrs);
|
||||
AttrBuilder attrs(PAL.getSlot(i).Attrs);
|
||||
Out << "PAWI.Index = " << index << "U;\n";
|
||||
Out << " Attributes::Builder B;\n";
|
||||
Out << " AttrBuilder B;\n";
|
||||
|
||||
#define HANDLE_ATTR(X) \
|
||||
if (attrs.hasAttribute(Attributes::X)) \
|
||||
|
||||
Reference in New Issue
Block a user