[clang] [CIR] Upstream handling of integral-to-pointer casts (PR #161653)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 09:11:25 PDT 2025


================
@@ -14,6 +14,11 @@
 
 #include "mlir/Dialect/DLTI/DLTI.h"
 #include "mlir/IR/BuiltinOps.h"
+#include "clang/CIR/Dialect/IR/CIRAttrs.h"
+#include "clang/CIR/Dialect/IR/CIRTypes.h"
+#include "llvm/IR/DataLayout.h"
+#include "llvm/Support/Alignment.h"
+#include "llvm/Support/TypeSize.h"
----------------
andykaylor wrote:

Are all of these headers needed for your change?

https://llvm.org/docs/CodingStandards.html#include-as-little-as-possible

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


More information about the cfe-commits mailing list