diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-23 19:06:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-23 19:06:01 +0000 |
commit | 5ed3ac1185a52756a55ac043ede983a2ed4ea8f1 (patch) | |
tree | fabe85903a2a7d141a397bd3c58975600c9214f1 | |
parent | 028dba376ae90c82b44d72ddb3ed97849484aab4 (diff) |
Remove unused methods and ivars.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173284 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/IR/Attributes.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 813718fdf7..6ba9c4c55e 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -351,10 +351,7 @@ public: /// an index. struct AttributeWithIndex { Attribute Attrs; ///< The attributes that are set, or'd together. - Constant *Val; ///< Value attached to attribute, e.g. alignment. unsigned Index; ///< Index of the parameter for which the attributes apply. - ///< Index 0 is used for return value attributes. - ///< Index ~0U is used for function attributes. // FIXME: These methods all need to be revised. The first one is temporary. static AttributeWithIndex get(LLVMContext &C, unsigned Idx, AttributeSet AS); @@ -366,14 +363,6 @@ struct AttributeWithIndex { AttributeWithIndex P; P.Index = Idx; P.Attrs = Attrs; - P.Val = 0; - return P; - } - static AttributeWithIndex get(unsigned Idx, Attribute Attrs, Constant *Val) { - AttributeWithIndex P; - P.Index = Idx; - P.Attrs = Attrs; - P.Val = Val; return P; } }; |