[mlir] Add a copy constructor to FailureOr
authorMathieu Fehr <mathieu.fehr@gmail.com>
Tue, 25 May 2021 19:10:31 +0000 (12:10 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 25 May 2021 19:10:57 +0000 (12:10 -0700)
commitdc2aa476760151d29142aa940029aba21a2f286d
tree9ef7248dbacac3ea3fa9404aa0fb01bfb93531b8
parentd2d4f16806650bde47d99803782c023bea95c9d0
[mlir] Add a copy constructor to FailureOr

The copy constructor was missing from FailureOr.

Note that I do not have commit access.

Differential Revision: https://reviews.llvm.org/D98955
mlir/include/mlir/Support/LogicalResult.h