mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
Cleanup whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
925bcb132a
commit
778986856c
@ -398,14 +398,14 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
} // end llvm namespace
|
||||||
|
|
||||||
AttributeListImpl::~AttributeListImpl() {
|
AttributeListImpl::~AttributeListImpl() {
|
||||||
// NOTE: Lock must be acquired by caller.
|
// NOTE: Lock must be acquired by caller.
|
||||||
AttributesLists->RemoveNode(this);
|
AttributesLists->RemoveNode(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
AttrListPtr AttrListPtr::get(ArrayRef<AttributeWithIndex> Attrs) {
|
AttrListPtr AttrListPtr::get(ArrayRef<AttributeWithIndex> Attrs) {
|
||||||
// If there are no attributes then return a null AttributesList pointer.
|
// If there are no attributes then return a null AttributesList pointer.
|
||||||
if (Attrs.empty())
|
if (Attrs.empty())
|
||||||
@ -441,7 +441,6 @@ AttrListPtr AttrListPtr::get(ArrayRef<AttributeWithIndex> Attrs) {
|
|||||||
return AttrListPtr(PAL);
|
return AttrListPtr(PAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// AttrListPtr Method Implementations
|
// AttrListPtr Method Implementations
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
@ -481,10 +480,9 @@ const AttributeWithIndex &AttrListPtr::getSlot(unsigned Slot) const {
|
|||||||
return AttrList->Attrs[Slot];
|
return AttrList->Attrs[Slot];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// getAttributes - The attributes for the specified index are returned.
|
||||||
/// getAttributes - The attributes for the specified index are
|
/// Attributes for the result are denoted with Idx = 0. Function notes are
|
||||||
/// returned. Attributes for the result are denoted with Idx = 0.
|
/// denoted with idx = ~0.
|
||||||
/// Function notes are denoted with idx = ~0.
|
|
||||||
Attributes AttrListPtr::getAttributes(unsigned Idx) const {
|
Attributes AttrListPtr::getAttributes(unsigned Idx) const {
|
||||||
if (AttrList == 0) return Attributes();
|
if (AttrList == 0) return Attributes();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user