diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-27 03:39:10 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-27 03:39:10 +0000 |
commit | a7a55ee2fc2145bc1b19e65f1bcf76525b0ecd7e (patch) | |
tree | 4c8dd91791e852f0e6da92b5d193cff0d9a74311 /llvm/unittests/IR | |
parent | 53e191b2bccd1cc6554106091d6bc164e7dbeeb7 (diff) | |
download | bcm5719-llvm-a7a55ee2fc2145bc1b19e65f1bcf76525b0ecd7e.tar.gz bcm5719-llvm-a7a55ee2fc2145bc1b19e65f1bcf76525b0ecd7e.zip |
Fix test to not use the AttributeSet's AttributeWithIndex creation method.
llvm-svn: 173608
Diffstat (limited to 'llvm/unittests/IR')
-rw-r--r-- | llvm/unittests/IR/AttributesTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/unittests/IR/AttributesTest.cpp b/llvm/unittests/IR/AttributesTest.cpp index 627e10f4740..2368bdf94dc 100644 --- a/llvm/unittests/IR/AttributesTest.cpp +++ b/llvm/unittests/IR/AttributesTest.cpp @@ -21,13 +21,13 @@ TEST(Attributes, Uniquing) { Attribute AttrB = Attribute::get(C, Attribute::AlwaysInline); EXPECT_EQ(AttrA, AttrB); - AttributeWithIndex AWIs[] = { - AttributeWithIndex::get(C, 1, Attribute::ZExt), - AttributeWithIndex::get(C, 2, Attribute::SExt) + AttributeSet ASs[] = { + AttributeSet::get(C, 1, Attribute::ZExt), + AttributeSet::get(C, 2, Attribute::SExt) }; - AttributeSet SetA = AttributeSet::get(C, AWIs); - AttributeSet SetB = AttributeSet::get(C, AWIs); + AttributeSet SetA = AttributeSet::get(C, ASs); + AttributeSet SetB = AttributeSet::get(C, ASs); EXPECT_EQ(SetA, SetB); } |