aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2024-08-21 15:04:04 +0200
committerDmitri Gribenko <gribozavr@gmail.com>2024-08-21 15:29:03 +0200
commit65281570afd7e35e01533b07c6c2937de410fc52 (patch)
tree405ebfa28f2042939c5bba2dd4008f7382627b1a /llvm/unittests/ADT/StringRefTest.cpp
parentaa088438784dd76a859eee229ddaec17e0cb0651 (diff)
downloadllvm-65281570afd7e35e01533b07c6c2937de410fc52.zip
llvm-65281570afd7e35e01533b07c6c2937de410fc52.tar.gz
llvm-65281570afd7e35e01533b07c6c2937de410fc52.tar.bz2
[lldb][swig] Use the correct variable in the return statement
The issue was introduced in https://github.com/llvm/llvm-project/pull/104523. The code introduces the `ret_val` variable but does not use it. Instead it returns a pointer, which gets implicitly converted to bool.
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions