diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-27 02:46:53 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-27 02:46:53 +0000 |
commit | b263bdf2954953cc7cca5d667eb01319ea0f72ec (patch) | |
tree | fbdcfa67f8b30f1d55b7441fc87ba205c279c9af /lib/CodeGen/CGCall.h | |
parent | 7d470531fffc8072c358ec0ef8192fd02756fab1 (diff) |
Use the AttributeSet instead of AttributeWithIndex.
In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the
internals of the AttributeSet to outside users, which isn't goodness.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.h')
-rw-r--r-- | lib/CodeGen/CGCall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGCall.h b/lib/CodeGen/CGCall.h index 734ba69c87..0b68617f3d 100644 --- a/lib/CodeGen/CGCall.h +++ b/lib/CodeGen/CGCall.h @@ -25,7 +25,7 @@ #include "ABIInfo.h" namespace llvm { - struct AttributeWithIndex; + class AttributeSet; class Function; class Type; class Value; @@ -39,7 +39,7 @@ namespace clang { class VarDecl; namespace CodeGen { - typedef SmallVector<llvm::AttributeWithIndex, 8> AttributeListType; + typedef SmallVector<llvm::AttributeSet, 8> AttributeListType; struct CallArg { RValue RV; |