[PATCH] D139487: [NFC] Use const references to avoid copying objects in for-loops

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 13:39:40 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG40dc8e6889c0: [NFC] Use const references to avoid copying objects in for-loops (authored by gAlfonso-bit, committed by MaskRay).

Changed prior to commit:
  https://reviews.llvm.org/D139487?vs=557418&id=557421#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139487/new/

https://reviews.llvm.org/D139487

Files:
  llvm/lib/ObjCopy/ELF/ELFObject.cpp
  llvm/lib/Object/COFFImportFile.cpp
  llvm/lib/ObjectYAML/MachOEmitter.cpp
  llvm/lib/Support/VirtualFileSystem.cpp
  llvm/lib/TextAPI/TextStub.cpp
  llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
  llvm/tools/llvm-readtapi/DiffEngine.cpp
  llvm/tools/llvm-xray/xray-converter.cpp
  llvm/tools/llvm-xray/xray-fdr-dump.cpp
  llvm/unittests/ADT/IteratorTest.cpp
  llvm/unittests/FileCheck/FileCheckTest.cpp
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139487.557421.patch
Type: text/x-patch
Size: 7252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230927/31f2339a/attachment-0001.bin>


More information about the llvm-commits mailing list