aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-23 23:03:40 +0000
committerDevang Patel <dpatel@apple.com>2008-09-23 23:03:40 +0000
commiteaf42abab6d465c38891345d999255871cf03943 (patch)
tree3230b42caed019c8a5332426f6976ab8cbe37bea /include/llvm/Function.h
parentd9b4a5f859188cbb168c223071b413e58c53c925 (diff)
s/ParameterAttributes/Attributes/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index fea9e0fc48..3efce3b11e 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -22,7 +22,7 @@
#include "llvm/BasicBlock.h"
#include "llvm/Argument.h"
#include "llvm/Support/Annotation.h"
-#include "llvm/ParameterAttributes.h"
+#include "llvm/Attributes.h"
namespace llvm {
@@ -150,14 +150,14 @@ public:
/// hasNote - Return true if this function has given note.
- bool hasNote(ParameterAttributes N) const {
+ bool hasNote(Attributes N) const {
// Notes are stored at ~0 index in parameter attribute list
return (!isDeclaration() && paramHasAttr(~0, N));
}
/// setNotes - Set notes for this function
///
- void setNotes(const ParameterAttributes N) {
+ void setNotes(const Attributes N) {
// Notes are stored at ~0 index in parameter attribute list
addParamAttr(~0, N);
}
@@ -170,15 +170,15 @@ public:
void clearGC();
/// @brief Determine whether the function has the given attribute.
- bool paramHasAttr(unsigned i, ParameterAttributes attr) const {
+ bool paramHasAttr(unsigned i, Attributes attr) const {
return ParamAttrs.paramHasAttr(i, attr);
}
/// addParamAttr - adds the attribute to the list of attributes.
- void addParamAttr(unsigned i, ParameterAttributes attr);
+ void addParamAttr(unsigned i, Attributes attr);
/// removeParamAttr - removes the attribute from the list of attributes.
- void removeParamAttr(unsigned i, ParameterAttributes attr);
+ void removeParamAttr(unsigned i, Attributes attr);
/// @brief Extract the alignment for a call or parameter (0=unknown).
unsigned getParamAlignment(unsigned i) const {