llvm.org GIT mirror llvm / c83f621
Fix test to not use the AttributeSet's AttributeWithIndex creation method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173608 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 6 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2020 Attribute AttrB = Attribute::get(C, Attribute::AlwaysInline);
2121 EXPECT_EQ(AttrA, AttrB);
2222
23 AttributeWithIndex AWIs[] = {
24 AttributeWithIndex::get(C, 1, Attribute::ZExt),
25 AttributeWithIndex::get(C, 2, Attribute::SExt)
23 AttributeSet ASs[] = {
24 AttributeSet::get(C, 1, Attribute::ZExt),
25 AttributeSet::get(C, 2, Attribute::SExt)
2626 };
2727
28 AttributeSet SetA = AttributeSet::get(C, AWIs);
29 AttributeSet SetB = AttributeSet::get(C, AWIs);
28 AttributeSet SetA = AttributeSet::get(C, ASs);
29 AttributeSet SetB = AttributeSet::get(C, ASs);
3030 EXPECT_EQ(SetA, SetB);
3131 }
3232