[Lldb-commits] [PATCH] D15355: Add failure paths to a few JSONNumber members
Muhammad Omair Javaid via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 8 15:05:48 PST 2015
omjavaid created this revision.
omjavaid added a reviewer: tberghammer.
omjavaid added a subscriber: lldb-commits.
This patch updates GetAsUnsigned(), GetAsSigned(), and GetAsDouble() JSONNumber functions to add failure check.
The previous code was generating compiler warnings for not being able to provide a return path for all possibilities.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2778 bytes
Desc: not available
More information about the lldb-commits