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:
4d34e54
)
Use range-based for loop. NFC
author
Craig Topper
<craig.topper@gmail.com>
Sun, 3 Jan 2016 07:33:42 +0000
(07:33 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 3 Jan 2016 07:33:42 +0000
(07:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256700
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/SubtargetFeature.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/SubtargetFeature.h
b/include/llvm/MC/SubtargetFeature.h
index 0d97b226d7283210fd10557518f32d88e57dedd0..02c9e82ad3a618e427416c81a8a2d5e5350f8e28 100644
(file)
--- a/
include/llvm/MC/SubtargetFeature.h
+++ b/
include/llvm/MC/SubtargetFeature.h
@@
-39,8
+39,8
@@
public:
FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {}
FeatureBitset(std::initializer_list<unsigned> Init) : bitset() {
- for (auto I
= Init.begin() , E = Init.end(); I != E; ++I
)
- set(
*
I);
+ for (auto I
: Init
)
+ set(I);
}
};