aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-02 23:42:30 +0000
committerChris Lattner <sabre@nondot.org>2008-01-02 23:42:30 +0000
commit50ee9ddc8f0633af6cb0a5693a2c706e98f944da (patch)
treee9d758370876a5e6235f5f0ac307f9b5d598c1cb /include/llvm/Support
parenta114b14e5dd1869b8dfcf79736fe05a3616b520a (diff)
Split param attr implementation out from Function.cpp into its
own file. Don't #include ParameterAttributes.h into any major public header files: just move methods out of line as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/CallSite.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index eb678ed0f0..f7d8db6086 100644
--- a/include/llvm/Support/CallSite.h
+++ b/include/llvm/Support/CallSite.h
@@ -22,7 +22,6 @@
#include "llvm/Instruction.h"
#include "llvm/BasicBlock.h"
-#include "llvm/ParameterAttributes.h"
namespace llvm {
@@ -65,7 +64,7 @@ public:
void setParamAttrs(const ParamAttrsList *PAL);
/// paramHasAttr - whether the call or the callee has the given attribute.
- bool paramHasAttr(uint16_t i, ParameterAttributes attr) const;
+ bool paramHasAttr(uint16_t i, unsigned attr) const;
/// @brief Determine if the call does not access memory.
bool doesNotAccessMemory() const;