HomePhabricator

[lldb] Refactor GetDeviceSupportDirectoryNames and GetPlatformName (NFC)

Authored by JDevlieghere on Nov 30 2020, 3:18 PM.

Description

[lldb] Refactor GetDeviceSupportDirectoryNames and GetPlatformName (NFC)

Both functions are effectively returning a single string literal. Change
the interface to return a llvm::StringRef instead of populating a vector
of std::strings or returning a std::string respectively.

Details

Committed
JDevlieghereNov 30 2020, 7:37 PM
Parents
rG011bf4f55630: Add help text for -nogpuinc
Branches
Unknown
Tags
Unknown