llvm-project/llvm/lib/ObjectYAML
Jakub Kuderski b9db89fbcf [ADT][NFCI] Do not use non-const lvalue-refs with enumerate in llvm/
Replace references to `enumerate` results with either const lvalue
rerences or structured bindings. I did not use structured bindings
everywhere as it wasn't clear to me it would improve readability.

This is in preparation to the switch to `zip` semantics which won't
support non-const lvalue reference to elements:
https://reviews.llvm.org/D144503.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D145987
2023-03-13 20:59:06 -04:00
..
ArchiveEmitter.cpp
ArchiveYAML.cpp
CMakeLists.txt
CodeViewYAMLDebugSections.cpp
CodeViewYAMLSymbols.cpp
CodeViewYAMLTypeHashing.cpp
CodeViewYAMLTypes.cpp
COFFEmitter.cpp
COFFYAML.cpp
DWARFEmitter.cpp [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
DWARFYAML.cpp [ADT][NFCI] Do not use non-const lvalue-refs with enumerate in llvm/ 2023-03-13 20:59:06 -04:00
DXContainerEmitter.cpp [DX] Add support for PSV resource bindings 2023-02-02 16:50:34 -06:00
DXContainerYAML.cpp [DX] Add support for PSV resource bindings 2023-02-02 16:50:34 -06:00
ELFEmitter.cpp
ELFYAML.cpp
MachOEmitter.cpp
MachOYAML.cpp [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
MinidumpEmitter.cpp [ADT][NFCI] Do not use non-const lvalue-refs with enumerate in llvm/ 2023-03-13 20:59:06 -04:00
MinidumpYAML.cpp
ObjectYAML.cpp
OffloadEmitter.cpp OffloadBinary: Switch to MapVector<StringRef, StringRef> to stabilize iteration order 2023-02-04 12:34:55 -08:00
OffloadYAML.cpp
WasmEmitter.cpp
WasmYAML.cpp
XCOFFEmitter.cpp
XCOFFYAML.cpp
YAML.cpp
yaml2obj.cpp