projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886a766
)
GCC doesn't like ++ on enums.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 16 Feb 2013 19:22:28 +0000
(19:22 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 16 Feb 2013 19:22:28 +0000
(19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175373
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Attributes.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Attributes.cpp
b/lib/IR/Attributes.cpp
index 99df5ffb2106f106a9ffed506f90af025024cd6a..77a1c82a99faf30636f00035eff6d8f50c09c09d 100644
(file)
--- a/
lib/IR/Attributes.cpp
+++ b/
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;