reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/IR/AttributesTest.cpp
   87   EXPECT_TRUE(AS.getAlignment() == 8);
   88   EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly));
   89   AS = AS.removeAttribute(C, Attribute::Alignment);
   89   AS = AS.removeAttribute(C, Attribute::Alignment);
   90   EXPECT_FALSE(AS.hasAttribute(Attribute::Alignment));
   91   EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly));
   92   AS = AttributeSet::get(C, B_align_readonly);
   93   AS = AS.removeAttributes(C, B_align);
   93   AS = AS.removeAttributes(C, B_align);
   94   EXPECT_TRUE(AS.getAlignment() == 0);
   95   EXPECT_TRUE(AS.hasAttribute(Attribute::ReadOnly));