[all-commits] [llvm/llvm-project] 0a655c: [lldb][NFC] Remove a redundant call to weak_ptr::e...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Fri Jun 4 03:07:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a655c62eca878cd5f366c08a4a5fee1b8723ce8
https://github.com/llvm/llvm-project/commit/0a655c62eca878cd5f366c08a4a5fee1b8723ce8
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list