A set of cleanup for redundant implicit container copies. Fixed with const reference or move semantics. e8996cb24 [AMDGPU] replace copy with const reference (NFC) 25ceecee8 [-Wunsafe-buffer-usage] Replace vector copy with reference (NFC) e1f5254e0 [AMDGPU] Replace copy with move semantics (NFC) 8261250d7 [InstCombine] Replace vector copy with move semantic (NFC) 749bb21de [CommandLine] Avoid vector copy for const argument (NFC) b89526f90 [LoongArch] Remove unnecessary vector copy (NFC) 6b22bcf56 [TextAPI] Replace map copy with const reference (NFC) a121519d8 [BlockExtract] Avoid copy semantic for ctor (NFC) 3034d3063 [LifetimeSafety] Avoid map copy for dump methods (NFC) --------- Co-authored-by: sfu <afwbu8tp6@mozmail.com>
35 KiB
35 KiB