diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 28c301fe2f..5dd8502d3a 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -170,6 +170,9 @@ public: bool paramHasAttr(unsigned i, ParameterAttributes attr) const { return ParamAttrs.paramHasAttr(i, attr); } + + /// addParamAttr - adds the attribute to the list of attributes. + void addParamAttr(unsigned i, ParameterAttributes attr); /// @brief Extract the alignment for a call or parameter (0=unknown). unsigned getParamAlignment(unsigned i) const { |