summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/help/TestHelp.py
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-03-31 01:09:35 +0000
committerPete Cooper <peter_cooper@apple.com>2016-03-31 01:09:35 +0000
commitd0a643e7dc653a0578865638cd10b23e7dd5f577 (patch)
tree3c13f75960bf0174a7203ded1e935c70fce56082 /lldb/packages/Python/lldbsuite/test/help/TestHelp.py
parentdc59c794d081cf759a7a24bee8b8a73afbabbf02 (diff)
downloadbcm5719-llvm-d0a643e7dc653a0578865638cd10b23e7dd5f577.tar.gz
bcm5719-llvm-d0a643e7dc653a0578865638cd10b23e7dd5f577.zip
Change library search methods to return Optional instead of ErrorOr.
These methods weren't really throwing errors. The only error used was that a file could not be found, which isn't really an error at all as we are searching paths and libraries for a file. All of the callers also ignored errors and just used the returned path if one was available. Changing to return Optional<StringRef> as that actually reflects what we are trying to do here: optionally find a given path. llvm-svn: 264979
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud