[Mlir-commits] [mlir] 5d208d5 - Revert "Include Region.h in OperationSupport.h instead of forward declaring it (NFC)"

Mehdi Amini llvmlistbot at llvm.org
Thu Dec 3 11:59:43 PST 2020


Author: Mehdi Amini
Date: 2020-12-03T19:59:20Z
New Revision: 5d208d505438fbd3e6d6a467e72d70d98e9136c0

URL: https://github.com/llvm/llvm-project/commit/5d208d505438fbd3e6d6a467e72d70d98e9136c0
DIFF: https://github.com/llvm/llvm-project/commit/5d208d505438fbd3e6d6a467e72d70d98e9136c0.diff

LOG: Revert "Include Region.h in OperationSupport.h instead of forward declaring it (NFC)"

This reverts commit e312b388ebadcd074d559454aca1fd6e75e8e7a5.

The original breaking change has been reverted

Added: 
    

Modified: 
    mlir/include/mlir/IR/OperationSupport.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OperationSupport.h b/mlir/include/mlir/IR/OperationSupport.h
index fb3dc20964bb..74899c9565fe 100644
--- a/mlir/include/mlir/IR/OperationSupport.h
+++ b/mlir/include/mlir/IR/OperationSupport.h
@@ -18,7 +18,6 @@
 #include "mlir/IR/BlockSupport.h"
 #include "mlir/IR/Identifier.h"
 #include "mlir/IR/Location.h"
-#include "mlir/IR/Region.h"
 #include "mlir/IR/TypeRange.h"
 #include "mlir/IR/Types.h"
 #include "mlir/IR/Value.h"
@@ -40,6 +39,7 @@ class OperandRange;
 class OpFoldResult;
 class ParseResult;
 class Pattern;
+class Region;
 class ResultRange;
 class RewritePattern;
 class Type;


        


More information about the Mlir-commits mailing list