[clang] [CIR][NFC] Upstream LValueBaseInfo handling (PR #134928)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 15:48:44 PDT 2025


================
@@ -27,7 +27,8 @@ using namespace cir;
 
 /// Given an expression of pointer type, try to
 /// derive a more accurate bound on the alignment of the pointer.
-Address CIRGenFunction::emitPointerWithAlignment(const Expr *expr) {
+Address CIRGenFunction::emitPointerWithAlignment(const Expr *expr,
+                                                 LValueBaseInfo *baseInfo) {
----------------
andykaylor wrote:

No. It's best to keep changes like that separate to avoid mingling unrelated changes in the commit history. We wouldn't want a warning to be reintroduced if the commit for this PR were reverted, for example. Thanks for brining this to my attention though, I'll take care of it.

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


More information about the cfe-commits mailing list