[Support] Add a checked flag to Expected<T>, require checks before access or
destruction. This makes the Expected<T> class behave like Error, even when in success mode. Expected<T> values must be checked to see whether they contain an error prior to being dereferenced, assigned to, or destructed. llvm-svn: 265446
Loading
Please sign in to comment