diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-03-17 12:57:32 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-03-17 13:23:16 +0100 |
commit | 7c6e52ac0ce5a6879331bc3c322dd20bfec3bf14 (patch) | |
tree | 7d3ea623917de2828efa579d4ac0f4655d8a0632 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 4add24920550beeaed15b24e6427154a58b02e50 (diff) | |
download | llvm-7c6e52ac0ce5a6879331bc3c322dd20bfec3bf14.zip llvm-7c6e52ac0ce5a6879331bc3c322dd20bfec3bf14.tar.gz llvm-7c6e52ac0ce5a6879331bc3c322dd20bfec3bf14.tar.bz2 |
[lldb] Ptrs->refs in CommandObjectExpression::EvaluateExpression parameters
The error_stream and result parameter were inconsistently checked for
being null, so we might as well make them references instead of crashing
in case someone passes a nullptr and hits one of the code paths that are
currently not doing a nullptr check on those parameters. Also change
output_stream for consistency.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions