[llvm] db1ec04 - [ValueTracking] Remove a stray semicolon. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 23:24:50 PDT 2020


Author: Martin Storsjö
Date: 2020-08-28T09:24:10+03:00
New Revision: db1ec04963cce70f2593e58cecac55f2e6accf52

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

LOG: [ValueTracking] Remove a stray semicolon. NFC.

This silences warnings when built with GCC at least.

Added: 
    

Modified: 
    llvm/lib/Analysis/ValueTracking.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 74097bbb2151..f8a5cecc16a8 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -4367,7 +4367,7 @@ AllocaInst *llvm::findAllocaForValue(Value *V, bool OffsetZero) {
   } while (!Worklist.empty());
 
   return Result;
-};
+}
 
 static bool onlyUsedByLifetimeMarkersOrDroppableInstsHelper(
     const Value *V, bool AllowLifetime, bool AllowDroppable) {


        


More information about the llvm-commits mailing list