[flang-commits] [flang] [llvm] [mlir] mlir/LogicalResult: move into llvm (PR #97309)

Théo Degioanni via flang-commits flang-commits at lists.llvm.org
Mon Jul 1 11:40:08 PDT 2024


================
@@ -13,16 +13,20 @@
 #ifndef MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
 #define MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
 
-namespace mlir {
+#include "llvm/Support/LogicalResult.h"
+namespace llvm {
 struct LogicalResult;
+} // namespace llvm
----------------
Moxinilian wrote:

If the file is included here, is the forward declaration still necessary?

https://github.com/llvm/llvm-project/pull/97309


More information about the flang-commits mailing list