diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 2c4f9d9e27..e2b41fe25d 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -22,6 +22,7 @@ #include "llvm/BasicBlock.h" #include "llvm/Argument.h" #include "llvm/Support/Annotation.h" +#include "llvm/ParameterAttributes.h" namespace llvm { @@ -163,7 +164,7 @@ public: void clearCollector(); /// @brief Determine whether the function has the given attribute. - bool paramHasAttr(uint16_t i, unsigned attr) const; + bool paramHasAttr(uint16_t i, ParameterAttributes attr) const; /// @brief Determine if the function cannot return. bool doesNotReturn() const; |