We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
auto
const_iterator
1 parent 1722ed0 commit 8d903dbCopy full SHA for 8d903db
llvm/utils/TableGen/DecoderTableEmitter.h
@@ -34,13 +34,13 @@ struct DecoderTableInfo {
34
}
35
36
unsigned getPredicateIndex(StringRef Predicate) const {
37
- auto I = find(Predicates, Predicate);
+ PredicateSet::const_iterator I = find(Predicates, Predicate);
38
assert(I != Predicates.end());
39
return std::distance(Predicates.begin(), I);
40
41
42
unsigned getDecoderIndex(StringRef Decoder) const {
43
- auto I = find(Decoders, Decoder);
+ DecoderSet::const_iterator I = find(Decoders, Decoder);
44
assert(I != Decoders.end());
45
return std::distance(Decoders.begin(), I);
46
0 commit comments