[lldb][NFC] Remove a redundant call to weak_ptr::expired
The `lock` call directly will check for us if the `weak_ptr` is expired and returns an invalid `shared_ptr` (which we correctly handle), so this check is redundant. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D103442
Loading
Please sign in to comment