[Mlir-commits] [mlir] 480d7a3 - [mlir-tblgen] Fix IWYU

Fangrui Song llvmlistbot at llvm.org
Mon Jul 24 21:50:33 PDT 2023


Author: Fangrui Song
Date: 2023-07-24T21:50:29-07:00
New Revision: 480d7a3aff8db0b812bdd36e7be8d78a7a0fd430

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

LOG: [mlir-tblgen] Fix IWYU

Right now std::vector is instantiated with an incomplete element type,
which is ok but best to avoid.

Added: 
    

Modified: 
    mlir/include/mlir/TableGen/CodeGenHelpers.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/TableGen/CodeGenHelpers.h b/mlir/include/mlir/TableGen/CodeGenHelpers.h
index c8fef9a7baf58e..dd17a44c889bbe 100644
--- a/mlir/include/mlir/TableGen/CodeGenHelpers.h
+++ b/mlir/include/mlir/TableGen/CodeGenHelpers.h
@@ -13,6 +13,7 @@
 #ifndef MLIR_TABLEGEN_CODEGENHELPERS_H
 #define MLIR_TABLEGEN_CODEGENHELPERS_H
 
+#include "mlir/TableGen/Constraint.h"
 #include "mlir/TableGen/Dialect.h"
 #include "mlir/TableGen/Format.h"
 #include "llvm/ADT/DenseMap.h"


        


More information about the Mlir-commits mailing list