projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71ad78b
)
Add function to return return attributes.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Oct 2012 21:19:35 +0000
(21:19 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Oct 2012 21:19:35 +0000
(21:19 +0000)
llvm-svn: 165164
llvm/include/llvm/Function.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Function.h
b/llvm/include/llvm/Function.h
index
fa6d0d3
..
752fe0b
100644
(file)
--- a/
llvm/include/llvm/Function.h
+++ b/
llvm/include/llvm/Function.h
@@
-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);