[Mlir-commits] [mlir] 795aa48 - [mlir] replace class with struct in a forward declaration

Alex Zinenko llvmlistbot at llvm.org
Tue Nov 2 07:16:36 PDT 2021


Author: Alex Zinenko
Date: 2021-11-02T15:16:31+01:00
New Revision: 795aa48fc1d21d1472607c15254360c679597d84

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

LOG: [mlir] replace class with struct in a forward declaration

Silence the warning.

Differential Revision: https://reviews.llvm.org/D113018

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h b/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h
index bbdeeb9c90f8..3a7a7889d98c 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h
@@ -18,7 +18,7 @@ namespace mlir {
 class BlockAndValueMapping;
 
 namespace linalg {
-class AllocationCallbacks;
+struct AllocationCallbacks;
 class BufferizationAliasInfo;
 
 /// Specify fine-grain relationship between buffers to enable more analysis.


        


More information about the Mlir-commits mailing list