Changes in directory llvm/include/llvm:
ParameterAttributes.h updated: 1.11 -> 1.12 --- Log message: add a helper --- Diffs of the changes: (+4 -0) ParameterAttributes.h | 4 ++++ 1 files changed, 4 insertions(+) Index: llvm/include/llvm/ParameterAttributes.h diff -u llvm/include/llvm/ParameterAttributes.h:1.11 llvm/include/llvm/ParameterAttributes.h:1.12 --- llvm/include/llvm/ParameterAttributes.h:1.11 Sun Apr 22 12:28:03 2007 +++ llvm/include/llvm/ParameterAttributes.h Thu May 3 22:13:39 2007 @@ -161,6 +161,10 @@ 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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits