[lld] r234981 - [ELF] Fix gcc -pedantic warnings (remove extra ';')
Denis Protivensky
dprotivensky at accesssoftek.com
Wed Apr 15 00:45:12 PDT 2015
Author: denis-protivensky
Date: Wed Apr 15 02:45:11 2015
New Revision: 234981
URL: http://llvm.org/viewvc/llvm-project?rev=234981&view=rev
Log:
[ELF] Fix gcc -pedantic warnings (remove extra ';')
Modified:
lld/trunk/lib/ReaderWriter/ELF/Atoms.cpp
lld/trunk/lib/ReaderWriter/ELF/SectionChunks.cpp
lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Atoms.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Atoms.cpp?rev=234981&r1=234980&r2=234981&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Atoms.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Atoms.cpp Wed Apr 15 02:45:11 2015
@@ -281,7 +281,7 @@ SharedLibraryAtom::Type ELFDynamicAtom<E
template class klass<ELF32LE>; \
template class klass<ELF32BE>; \
template class klass<ELF64LE>; \
- template class klass<ELF64BE>;
+ template class klass<ELF64BE>
INSTANTIATE(ELFAbsoluteAtom);
INSTANTIATE(ELFDefinedAtom);
Modified: lld/trunk/lib/ReaderWriter/ELF/SectionChunks.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/SectionChunks.cpp?rev=234981&r1=234980&r2=234981&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/SectionChunks.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/SectionChunks.cpp Wed Apr 15 02:45:11 2015
@@ -989,7 +989,7 @@ void EHFrameHeader<ELFT>::write(ELFWrite
template class klass<ELF32LE>; \
template class klass<ELF32BE>; \
template class klass<ELF64LE>; \
- template class klass<ELF64BE>;
+ template class klass<ELF64BE>
INSTANTIATE(AtomSection);
INSTANTIATE(DynamicSymbolTable);
Modified: lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.cpp?rev=234981&r1=234980&r2=234981&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/SegmentChunks.cpp Wed Apr 15 02:45:11 2015
@@ -451,7 +451,7 @@ template <class ELFT> void ProgramHeader
template class klass<ELF32LE>; \
template class klass<ELF32BE>; \
template class klass<ELF64LE>; \
- template class klass<ELF64BE>;
+ template class klass<ELF64BE>
INSTANTIATE(ExpressionChunk);
INSTANTIATE(ProgramHeaderSegment);
More information about the llvm-commits
mailing list