[lld] r336378 - Remove redundnat call of makeArrayRef(). NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 5 10:14:33 PDT 2018
Author: ruiu
Date: Thu Jul 5 10:14:33 2018
New Revision: 336378
URL: http://llvm.org/viewvc/llvm-project?rev=336378&view=rev
Log:
Remove redundnat call of makeArrayRef(). NFC.
Modified:
lld/trunk/ELF/Arch/PPC64.cpp
Modified: lld/trunk/ELF/Arch/PPC64.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Arch/PPC64.cpp?rev=336378&r1=336377&r2=336378&view=diff
==============================================================================
--- lld/trunk/ELF/Arch/PPC64.cpp (original)
+++ lld/trunk/ELF/Arch/PPC64.cpp Thu Jul 5 10:14:33 2018
@@ -119,7 +119,7 @@ static uint32_t getEFlags(InputFile *Fil
// This file implements v2 ABI. This function makes sure that all
// object files have v2 or an unspecified version as an ABI version.
uint32_t PPC64::calcEFlags() const {
- for (InputFile *F : makeArrayRef(ObjectFiles)) {
+ for (InputFile *F : ObjectFiles) {
uint32_t Flag = getEFlags(F);
if (Flag == 1)
error(toString(F) + ": ABI version 1 is not supported");
More information about the llvm-commits
mailing list