1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add function to return return attributes.

llvm-svn: 165164
This commit is contained in:
Bill Wendling 2012-10-03 21:19:35 +00:00
parent f6d9d90ee2
commit 1c72ca83da

View File

@ -195,6 +195,12 @@ public:
void setGC(const char *Str);
void clearGC();
/// getRetAttributes - Return the return attributes for querying.
Attributes getRetAttributes() const {
return AttributeList.getRetAttributes();
}
/// getParamAttributes - Return the parameter attributes for querying.
Attributes getParamAttributes(unsigned Idx) const {
return AttributeList.getParamAttributes(Idx);