1 //===- LogicalResult.h - Stub aliasing to llvm/LogicalResult ----*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef MLIR_SUPPORT_LOGICALRESULT_H 10 #define MLIR_SUPPORT_LOGICALRESULT_H 11 12 #include "llvm/Support/LogicalResult.h" 13 14 // TODO: This header is a stop-gap to avoid breaking downstream, and is to be 15 // removed eventually. 16 namespace mlir { 17 using llvm::failed; 18 using llvm::failure; 19 using llvm::FailureOr; 20 using llvm::LogicalResult; 21 using llvm::ParseResult; 22 using llvm::succeeded; 23 using llvm::success; 24 } // namespace mlir 25 26 #endif // MLIR_SUPPORT_LOGICALRESULT_H 27