mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add function to return return attributes.
llvm-svn: 165164
This commit is contained in:
parent
f6d9d90ee2
commit
1c72ca83da
@ -195,6 +195,12 @@ public:
|
|||||||
void setGC(const char *Str);
|
void setGC(const char *Str);
|
||||||
void clearGC();
|
void clearGC();
|
||||||
|
|
||||||
|
|
||||||
|
/// getRetAttributes - Return the return attributes for querying.
|
||||||
|
Attributes getRetAttributes() const {
|
||||||
|
return AttributeList.getRetAttributes();
|
||||||
|
}
|
||||||
|
|
||||||
/// getParamAttributes - Return the parameter attributes for querying.
|
/// getParamAttributes - Return the parameter attributes for querying.
|
||||||
Attributes getParamAttributes(unsigned Idx) const {
|
Attributes getParamAttributes(unsigned Idx) const {
|
||||||
return AttributeList.getParamAttributes(Idx);
|
return AttributeList.getParamAttributes(Idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user