[PATCH] Add ErrorOr<>::getOrDie() which uses report_fatal_error instead of assert.
alexfh at google.com
Thu Oct 9 10:30:18 PDT 2014
This method allows writing code that consistently fails in case of
dereferencing an ErrorOr<> containing no value rather than crashing in debug and
using uninitialized data in release build.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 885 bytes
Desc: not available
More information about the llvm-commits