mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-17 20:29:31 +00:00
comment cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d59af356f
commit
e940f3e6bb
@ -140,24 +140,23 @@ public:
|
||||
SubclassData = (SubclassData & 1) | (CC << 1);
|
||||
}
|
||||
|
||||
/// getAttributes - Return the parameter attributes for this Function.
|
||||
/// getAttributes - Return the attribute list for this Function.
|
||||
///
|
||||
const AttrListPtr &getAttributes() const { return AttributeList; }
|
||||
|
||||
/// setAttributes - Set the parameter attributes for this Function.
|
||||
/// setAttributes - Set the attribute list for this Function.
|
||||
///
|
||||
void setAttributes(const AttrListPtr &attrs) { AttributeList = attrs; }
|
||||
|
||||
|
||||
/// hasFnAttr - Return true if this function has the given attribute.
|
||||
bool hasFnAttr(Attributes N) const {
|
||||
// Function Attributes are stored at ~0 index
|
||||
return AttributeList.paramHasAttr(~0U, N);
|
||||
}
|
||||
|
||||
/// addFnAttr - Add function attributes
|
||||
/// addFnAttr - Add function attributes to this function.
|
||||
///
|
||||
void addFnAttr(const Attributes N) {
|
||||
void addFnAttr(Attributes N) {
|
||||
// Function Attributes are stored at ~0 index
|
||||
addAttribute(~0, N);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user