[clang] [Clang] Make the result type of sizeof/pointer subtraction/size_t lit… (PR #136542)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 12:16:38 PDT 2025


YexuanXiao wrote:

> If the reason to even consider doing this as a new builtin type is due to templates, please don't do that.
> 
> The better alternative here is to wait for template specialization resugaring to land.

The main purpose is for these expressions, with templates being just one possible beneficiary.

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


More information about the cfe-commits mailing list