diff options
author | Michał Górny <mgorny@moritz.systems> | 2021-10-07 17:58:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2021-10-08 11:47:57 +0200 |
commit | 4b46a4134385eda6449e93ad124f9b2685b25bb2 (patch) | |
tree | 31bb19ddfc720bd62b52cc49a17b17231c30e6e3 /lldb/unittests/ScriptInterpreter/Python | |
parent | d70938bbad0a659b9a142c493be7a71d1a6af0bb (diff) | |
download | llvm-4b46a4134385eda6449e93ad124f9b2685b25bb2.zip llvm-4b46a4134385eda6449e93ad124f9b2685b25bb2.tar.gz llvm-4b46a4134385eda6449e93ad124f9b2685b25bb2.tar.bz2 |
[lldb] [ConnectionFileDescriptorPosix] Refactor scheme matching
Move the POSIX-specific fd:// and file:// scheme handling into
separate methods. Replace the custom GetURLAddress() matching with
splitting into scheme and path, and matching scheme via
llvm::StringSwitch. Use early returns.
Differential Revision: https://reviews.llvm.org/D111321
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions