aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorbzcheeseman <12992886+bzcheeseman@users.noreply.github.com>2022-03-30 01:36:41 -0700
committerRiver Riddle <riddleriver@gmail.com>2022-03-30 01:37:20 -0700
commit4fec44b0e63d0dcde0897cf55670ccc1748c8654 (patch)
treec0c8b59e3f3a08ce6f770d22dff1909c00df2a53 /llvm/lib/Support/VirtualFileSystem.cpp
parenta60e09509c8cee9bf11e6f4d84271bf755884a0e (diff)
downloadllvm-4fec44b0e63d0dcde0897cf55670ccc1748c8654.zip
llvm-4fec44b0e63d0dcde0897cf55670ccc1748c8654.tar.gz
llvm-4fec44b0e63d0dcde0897cf55670ccc1748c8654.tar.bz2
[mlir] Allow Diagnostic/InFlightDiagnostic to convert to FailureOr.
Allow conversion of a diagnostic to FailureOr. This conversion only results in `failure` because in the case where operator LogicalResult would return success, the FailureOr constructor would assert. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D122596
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions