[Mlir-commits] [mlir] ff939b0 - [mlir] Fix the header guard (NFC)

Jie Fu llvmlistbot at llvm.org
Fri Dec 13 02:30:00 PST 2024


Author: Jie Fu
Date: 2024-12-13T18:29:06+08:00
New Revision: ff939b06a5ef57ac926c53e9f85b955b8bd855aa

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

LOG: [mlir] Fix the header guard (NFC)

/llvm-project/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h:9:9:
error: 'MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBUTIONUTILS_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/llvm-project/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h:10:9:
note: 'MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBITIONUTILS_H_' is defined here; did you mean 'MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBUTIONUTILS_H_'?
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBUTIONUTILS_H_
1 error generated.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h b/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h
index ff8840a769779f..e6fbc590020610 100644
--- a/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h
+++ b/mlir/include/mlir/Dialect/GPU/Utils/DistributionUtils.h
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #ifndef MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBUTIONUTILS_H_
-#define MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBITIONUTILS_H_
+#define MLIR_DIALECT_GPU_TRANSFORMS_DISTRIBUTIONUTILS_H_
 
 #include "mlir/Dialect/Affine/IR/AffineOps.h"
 #include "mlir/Dialect/Arith/IR/Arith.h"


        


More information about the Mlir-commits mailing list