diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 74097bbb21517f..f8a5cecc16a816 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) {