The make_shared function never returns a nullptr, as such the test for nullptr
is not needed. We also move the empty string check earlier in the if
("oso_object"), as this is cheaper than loading the object file.
Details
Details
- Reviewers
jdoerfert JDevlieghere - Group Reviewers
Restricted Project - Commits
- rGf470ab734c9b: [lldb][nfc] Remove redundant nullptr check
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo