[Lldb-commits] [PATCH] D20875: Fix JavaArraySyntheticFrontEnd for non-reference ValueObject.
Andrew Ford via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 1 12:14:16 PDT 2016
andrewford created this revision.
andrewford added reviewers: clayborg, tberghammer.
andrewford added a subscriber: lldb-commits.
Fix missing return after checking that m_backend is not a pointer or reference type.
http://reviews.llvm.org/D20875
Files:
source/Plugins/Language/Java/JavaFormatterFunctions.cpp
Index: source/Plugins/Language/Java/JavaFormatterFunctions.cpp
===================================================================
--- source/Plugins/Language/Java/JavaFormatterFunctions.cpp
+++ source/Plugins/Language/Java/JavaFormatterFunctions.cpp
@@ -99,7 +99,7 @@
GetDereferencedValueObject()
{
if (!m_backend.IsPointerOrReferenceType())
- m_backend.GetSP();
+ return m_backend.GetSP();
Error error;
return m_backend.Dereference(error);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20875.59265.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160601/4210d53c/attachment.bin>
More information about the lldb-commits
mailing list