mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
GCC doesn't like ++ on enums.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
886a7663c7
commit
7c1461252b
@ -596,7 +596,7 @@ AttributeSet AttributeSet::get(LLVMContext &C, unsigned Idx, AttrBuilder &B) {
|
||||
// Add target-independent attributes.
|
||||
SmallVector<std::pair<unsigned, Attribute>, 8> Attrs;
|
||||
for (Attribute::AttrKind Kind = Attribute::None;
|
||||
Kind != Attribute::EndAttrKinds; ++Kind) {
|
||||
Kind != Attribute::EndAttrKinds; Kind = Attribute::AttrKind(Kind + 1)) {
|
||||
if (!B.contains(Kind))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user