llvm.org GIT mirror llvm / 5f33912
Use proper return type for attribute index. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173638 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
136136 /// is the index of the return, parameter, or function object that the
137137 /// attributes are applied to, not the index into the AttrNodes list where the
138138 /// attributes reside.
139 unsigned getSlotIndex(unsigned Slot) const { return AttrNodes[Slot].first; }
139 uint64_t getSlotIndex(unsigned Slot) const { return AttrNodes[Slot].first; }
140140
141141 /// \brief Retrieve the attributes for the given "slot" in the AttrNode list.
142142 /// \p Slot is an index into the AttrNodes list, not the index of the return /