[lld] r286529 - [ELF] Remove extra semicolon to placate GCC. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 16:05:41 PST 2016


Author: davide
Date: Thu Nov 10 18:05:41 2016
New Revision: 286529

URL: http://llvm.org/viewvc/llvm-project?rev=286529&view=rev
Log:
[ELF] Remove extra semicolon to placate GCC. NFCI.

Modified:
    lld/trunk/ELF/SyntheticSections.cpp

Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=286529&r1=286528&r2=286529&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Thu Nov 10 18:05:41 2016
@@ -91,7 +91,7 @@ static ArrayRef<uint8_t> getVersion() {
 
   // +1 to include the terminating '\0'.
   return {(const uint8_t *)S.data(), S.size() + 1};
-};
+}
 
 // Creates a .comment section containing LLD version info.
 // With this feature, you can identify LLD-generated binaries easily




More information about the llvm-commits mailing list