projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc78d3a
)
add a helper
author
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:13:39 +0000
(
03:13
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 4 May 2007 03:13:39 +0000
(
03:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36729
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ParameterAttributes.h
patch
|
blob
|
history
diff --git
a/include/llvm/ParameterAttributes.h
b/include/llvm/ParameterAttributes.h
index 86287e0a3ba5444d836eb6014a9df1215bdc4ccb..35d347690da915d43934b519e4dc06f46e17c27b 100644
(file)
--- a/
include/llvm/ParameterAttributes.h
+++ b/
include/llvm/ParameterAttributes.h
@@
-161,6
+161,10
@@
class ParamAttrsList : public FoldingSetNode {
return attrs[attr_index].index;
}
+ uint16_t getParamAttrsAtIndex(unsigned attr_index) const {
+ return attrs[attr_index].attrs;
+ }
+
/// Determines how many parameter attributes are set in this ParamAttrsList.
/// This says nothing about how many parameters the function has. It also
/// says nothing about the highest parameter index that has attributes.