diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-24 01:01:36 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-24 01:01:36 +0000 |
commit | d0646bd7c11c12b34971b55e5c1bdd8439401b4c (patch) | |
tree | cf12bec8a837e08f660b0129f9f0706b7715e981 /lib/CodeGen/CGCall.cpp | |
parent | f143545ce5ce125e7c1aa6fca9df372bfb604e9c (diff) |
s/ParamAttrsWithIndex/FnAttributeWithIndex/g
Rename to match changes done on llvm side.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index acaf2f180b..11e2ec2142 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -19,7 +19,7 @@ #include "clang/AST/Decl.h" #include "clang/AST/DeclObjC.h" #include "llvm/ADT/StringExtras.h" -#include "llvm/ParameterAttributes.h" +#include "llvm/Attributes.h" using namespace clang; using namespace CodeGen; @@ -536,7 +536,7 @@ void CodeGenModule::ConstructParamAttrList(const Decl *TargetDecl, break; case ABIArgInfo::StructRet: - PAL.push_back(llvm::ParamAttrsWithIndex::get(Index, + PAL.push_back(llvm::FnAttributeWithIndex::get(Index, llvm::ParamAttr::StructRet| llvm::ParamAttr::NoAlias)); ++Index; @@ -551,7 +551,7 @@ void CodeGenModule::ConstructParamAttrList(const Decl *TargetDecl, } if (FuncAttrs) - PAL.push_back(llvm::ParamAttrsWithIndex::get(0, FuncAttrs)); + PAL.push_back(llvm::FnAttributeWithIndex::get(0, FuncAttrs)); for (++begin; begin != end; ++begin) { QualType ParamType = *begin; unsigned ParamAttrs = 0; @@ -589,7 +589,7 @@ void CodeGenModule::ConstructParamAttrList(const Decl *TargetDecl, } if (ParamAttrs) - PAL.push_back(llvm::ParamAttrsWithIndex::get(Index, ParamAttrs)); + PAL.push_back(llvm::FnAttributeWithIndex::get(Index, ParamAttrs)); ++Index; } } |