It makes it consistent with size() method return type and with
STL-like containers API.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D97921
[ADT][NFC] Use `size_t` type for index in `indexed_accessor_range` ClosedPublic Authored by vinograd47 on Mar 4 2021, 1:42 AM.
Details Summary It makes it consistent with size() method return type and with
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 4 2021, 11:45 AM Closed by commit rGdc8446c2a088: [ADT][NFC] Use `size_t` type for index in `indexed_accessor_range` (authored by vinograd47). · Explain WhyMar 10 2021, 12:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 328069 llvm/include/llvm/ADT/STLExtras.h
|
clang-tidy: warning: invalid case style for parameter 'index' [readability-identifier-naming]
not useful