[Mlir-commits] [mlir] e4e122a - [MLIR][GPU] Fix forward declaration of Region class.

Stephan Herhut llvmlistbot at llvm.org
Tue Feb 25 03:10:02 PST 2020


Author: Stephan Herhut
Date: 2020-02-25T12:09:42+01:00
New Revision: e4e122aa1d59bdc1e15b414479d574952223b512

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

LOG: [MLIR][GPU] Fix forward declaration of Region class.

I forward declared mlir::Region as a struct by mistake :(

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h b/mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
index 34faf43ea1d6..92fb09ff6020 100644
--- a/mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
+++ b/mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h
@@ -16,7 +16,7 @@
 
 namespace mlir {
 
-struct Region;
+class Region;
 
 namespace gpu {
 


        


More information about the Mlir-commits mailing list