summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-07-12 07:11:28 +0000
committerSam McCall <sam.mccall@gmail.com>2018-07-12 07:11:28 +0000
commit907bde12403f582a1a04002ff265e846fc254fc1 (patch)
tree447ba0186ca15be034a98a9903b1e42fa34ad622 /lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
parentd3b69c6be91a960f8cd86d745f3056fe622b4cff (diff)
downloadbcm5719-llvm-907bde12403f582a1a04002ff265e846fc254fc1.tar.gz
bcm5719-llvm-907bde12403f582a1a04002ff265e846fc254fc1.zip
[Support] Require llvm::Error passed to formatv() to be wrapped in fmt_consume()
Summary: Someone must be responsible for handling an Error. When formatv takes ownership of an Error, the formatv_object destructor must take care of this. Passing an error by value to formatv() is not considered explicit enough to mark the error as handled (see D49013), so we require callers to use a format adapter to confirm this intent. Reviewers: zturner Subscribers: llvm-commits, lhames Differential Revision: https://reviews.llvm.org/D49170 llvm-svn: 336888
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud