diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2020-01-28 13:04:32 -0500 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2020-01-28 13:05:56 -0500 |
| commit | 554791928088d6139e0fb3480d79cd76ea59198f (patch) | |
| tree | 57aea06e58839ec6a5100f72248cfd6cc34e0e4c /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | da6a896e6b1b1e397297b08a565940f1e0391cb7 (diff) | |
Fix a crash when casting _Complex and ignoring the results.
Performing a cast where the result is ignored caused Clang to crash when
performing codegen for the conversion:
_Complex int a;
void fn1() { (_Complex double) a; }
This patch addresses the crash by not trying to emit the scalar conversions,
causing it to be a noop. Fixes PR44624.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
