[llvm] 4d506da - Fix `warning: extra ‘;’` (NFC)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 07:22:24 PDT 2020


Author: Mehdi Amini
Date: 2020-03-18T14:22:10Z
New Revision: 4d506da91c455bed75000edaafcf474ba043bf22

URL: https://github.com/llvm/llvm-project/commit/4d506da91c455bed75000edaafcf474ba043bf22
DIFF: https://github.com/llvm/llvm-project/commit/4d506da91c455bed75000edaafcf474ba043bf22.diff

LOG: Fix `warning: extra ‘;’` (NFC)

Added: 
    

Modified: 
    llvm/examples/ThinLtoJIT/ThinLtoModuleIndex.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/examples/ThinLtoJIT/ThinLtoModuleIndex.cpp b/llvm/examples/ThinLtoJIT/ThinLtoModuleIndex.cpp
index 596c9356826d..42ee43f1091b 100644
--- a/llvm/examples/ThinLtoJIT/ThinLtoModuleIndex.cpp
+++ b/llvm/examples/ThinLtoJIT/ThinLtoModuleIndex.cpp
@@ -205,7 +205,7 @@ void ThinLtoModuleIndex::updatePathRank(StringRef Path, unsigned Distance) {
   Entry.Count += 1;
   Entry.MinDist = std::min(Entry.MinDist, Distance);
   assert(Entry.MinDist > 0 && "We want it as a divisor");
-};
+}
 
 // TODO: The size of a ThreadPool's task queue is not accessible. It would
 // be great to know in order to estimate how many modules we schedule. The


        


More information about the llvm-commits mailing list