diff options
| author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-01-04 00:53:31 +0000 |
|---|---|---|
| committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-01-04 00:53:31 +0000 |
| commit | e01b1eff59c0c444f598289241b76da71efe2655 (patch) | |
| tree | 849291d16259d98df92522f5daece596afb3bbbf /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 6a6af52ba604a1b837249b211e6d16cbb5ceca45 (diff) | |
[libcxx] [test] Fix recently introduced warnings emitted by MSVC.
These tests were using malloc()'s return value without checking for null,
which MSVC's /analyze rightly warns about. Asserting that the pointer is
non-null both expresses the test's intention and silences the warning.
Fixes D27785.
llvm-svn: 290921
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
