[clang] [CIR] Introduce data_member_offset attribute (PR #208777)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 21 05:37:49 PDT 2026


Lancern wrote:

> > I'd prefer to keep separate `#cir.data_member` and `#cir.data_member_offset`. To me that makes the common case easier to read and doesn't present the temptation to drift into the representation that we don't want.
> 
> Yeah, I think that succinctly summarizes my feelings on it. @Lancern : does this sound acceptable to you?

Sounds fair.

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


More information about the cfe-commits mailing list