diff options
author | Dale Johannesen <dalej@apple.com> | 2008-02-19 21:38:47 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-02-19 21:38:47 +0000 |
commit | 0d51e7ec0d2dcbea9e304fd58deb05f37eb75635 (patch) | |
tree | 9fbe3f267ddd1719fd5b3e0f95733e786c07fa5c /include/llvm/Function.h | |
parent | a795aca96aca81ddeb4cd9628138926dd9fa612c (diff) |
Expand ParameterAttributes to 32 bits (in preparation
for adding alignment info, not there yet). Clean up
interfaces to reference ParameterAttributes consistently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47342 91177308-0d34-0410-b5e6-96231b3b80d8
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; |