[clang] [clang][CIR] Add missing dependency on MLIR headers (PR #131057)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 13 15:16:46 PDT 2025


================
@@ -11,6 +11,9 @@ add_clang_library(clangCIRFrontendAction
   DEPENDS
   MLIRCIROpsIncGen
   MLIRCIROpInterfacesIncGen
+  # Add mlir-generic-headers dependency as the header CIRGenAction.h needs to
+  # include BuiltinOps.h
+  mlir-generic-headers
----------------
bcardosolopes wrote:

Why not `MLIRBuiltinLocationAttributesIncGen`?

https://github.com/llvm/llvm-project/pull/131057


More information about the cfe-commits mailing list