HomePhabricator

Make llvm::StringRef to std::string conversions explicit.
Audit Requiredadcd02683856

Authored by bkramer on Jan 28 2020, 11:23 AM.

Description

Make llvm::StringRef to std::string conversions explicit.

This is how it should've been and brings it more in line with
std::string_view. There should be no functional change here.

This is mostly mechanical from a custom clang-tidy check, with a lot of
manual fixups. It uncovers a lot of minor inefficiencies.

This doesn't actually modify StringRef yet, I'll do that in a follow-up.

Details

Auditors
grosbach
Committed
bkramerJan 28 2020, 2:25 PM
Parents
rG5eaf44f99f0a: [lldb] Delete ValueObject::GetBaseClassPath
Branches
Unknown
Tags
Unknown