[lld] r345116 - [ELF] Remove a superfluous semicolon, fixing warnings. NFC.

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 24 00:42:06 PDT 2018


Author: mstorsjo
Date: Wed Oct 24 00:42:06 2018
New Revision: 345116

URL: http://llvm.org/viewvc/llvm-project?rev=345116&view=rev
Log:
[ELF] Remove a superfluous semicolon, fixing warnings. NFC.

Modified:
    lld/trunk/ELF/Writer.cpp

Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=345116&r1=345115&r2=345116&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Wed Oct 24 00:42:06 2018
@@ -180,7 +180,7 @@ static Defined *addOptionalRegular(Strin
 static Defined *addAbsolute(StringRef Name) {
   return cast<Defined>(Symtab->addDefined(Name, STV_HIDDEN, STT_NOTYPE, 0, 0,
                                           STB_GLOBAL, nullptr, nullptr));
-};
+}
 
 // The linker is expected to define some symbols depending on
 // the linking result. This function defines such symbols.




More information about the llvm-commits mailing list