diff options
| author | George Karpenkov <ekarpenkov@apple.com> | 2018-06-13 18:31:43 +0000 |
|---|---|---|
| committer | George Karpenkov <ekarpenkov@apple.com> | 2018-06-13 18:31:43 +0000 |
| commit | 3bbaeaf673811c69bf7bb034b6be73b77d7062a1 (patch) | |
| tree | 75ed563c9539b5b38624484aeda228c2910d1814 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 0ffb2271a1e60de368fc6b0b1df4595220981a8d (diff) | |
Change checked arithmetic functions API to return Optional
Returning optional is much safer.
The previous API had potential to cause use of undefined variables, if
the value passed by pointer was accidentally read afterwards.
Differential Revision: https://reviews.llvm.org/D48137
llvm-svn: 334634
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
