[llvm] r265204 - Fix -Wpedantic warning about extra semi-colon

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 1 18:03:41 PDT 2016


Author: hans
Date: Fri Apr  1 20:03:41 2016
New Revision: 265204

URL: http://llvm.org/viewvc/llvm-project?rev=265204&view=rev
Log:
Fix -Wpedantic warning about extra semi-colon

Modified:
    llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp

Modified: llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp?rev=265204&r1=265203&r2=265204&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp (original)
+++ llvm/trunk/lib/LTO/ThinLTOCodeGenerator.cpp Fri Apr  1 20:03:41 2016
@@ -116,7 +116,7 @@ bool IsFirstDefinitionForLinker(const Gl
           }))
     return false;
   return true;
-};
+}
 
 static void ResolveODR(GlobalValue &GV, const ModuleSummaryIndex &Index,
                              StringRef ModulePath) {




More information about the llvm-commits mailing list