diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-02-16 19:22:28 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-02-16 19:22:28 +0000 |
| commit | 6f37daccb8288e425e06986fedc0de8241f0dcf6 (patch) | |
| tree | 4b9ef5d79836ed8bb3bd672275b0f776e52c9b8a | |
| parent | cae143dc1b996b99f65cceb9bb8337a4b61b0b8a (diff) | |
| download | bcm5719-llvm-6f37daccb8288e425e06986fedc0de8241f0dcf6.tar.gz bcm5719-llvm-6f37daccb8288e425e06986fedc0de8241f0dcf6.zip | |
GCC doesn't like ++ on enums.
llvm-svn: 175373
| -rw-r--r-- | llvm/lib/IR/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp index 99df5ffb210..77a1c82a99f 100644 --- a/llvm/lib/IR/Attributes.cpp +++ b/llvm/lib/IR/Attributes.cpp @@ -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; |

