X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FParameterAttributes.h;h=35d347690da915d43934b519e4dc06f46e17c27b;hb=a727d5502c8e23c090da658bf14c5ebc1169a070;hp=86287e0a3ba5444d836eb6014a9df1215bdc4ccb;hpb=b90909e40536db17665727f5ca1c618e485464c3;p=oota-llvm.git diff --git a/include/llvm/ParameterAttributes.h b/include/llvm/ParameterAttributes.h index 86287e0a3ba..35d347690da 100644 --- 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.