diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-06-04 10:59:31 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-06-04 12:06:53 +0200 |
commit | 0a655c62eca878cd5f366c08a4a5fee1b8723ce8 (patch) | |
tree | 2cf0b04247b349aea760eb5e266465c48d1c7893 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | b0cc7b53a53f180c0b70b8b2f02999be78a32395 (diff) | |
download | llvm-0a655c62eca878cd5f366c08a4a5fee1b8723ce8.zip llvm-0a655c62eca878cd5f366c08a4a5fee1b8723ce8.tar.gz llvm-0a655c62eca878cd5f366c08a4a5fee1b8723ce8.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions