[lld] r203404 - [Mips] Change unused return type from 'bool' to 'void'.
Simon Atanasyan
simon at atanasyan.com
Sun Mar 9 06:05:20 PDT 2014
Author: atanasyan
Date: Sun Mar 9 08:05:20 2014
New Revision: 203404
URL: http://llvm.org/viewvc/llvm-project?rev=203404&view=rev
Log:
[Mips] Change unused return type from 'bool' to 'void'.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h?rev=203404&r1=203403&r2=203404&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsELFWriters.h Sun Mar 9 08:05:20 2014
@@ -23,7 +23,7 @@ public:
MipsTargetLayout<ELFT> &targetLayout)
: _mipsLinkingContext(context), _mipsTargetLayout(targetLayout) {}
- bool setELFHeader(ELFHeader<ELFT> &elfHeader) {
+ void setELFHeader(ELFHeader<ELFT> &elfHeader) {
elfHeader.e_version(1);
elfHeader.e_ident(llvm::ELF::EI_VERSION, llvm::ELF::EV_CURRENT);
elfHeader.e_ident(llvm::ELF::EI_OSABI, llvm::ELF::ELFOSABI_NONE);
@@ -39,7 +39,6 @@ public:
if (_mipsLinkingContext.getOutputELFType() == llvm::ELF::ET_DYN)
flags |= EF_MIPS_PIC;
elfHeader.e_flags(flags);
- return true;
}
void finalizeMipsRuntimeAtomValues() {
More information about the llvm-commits
mailing list