[clang] [Clang] Make the result type of sizeof/pointer subtraction/size_t lit… (PR #136542)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 13:00:32 PDT 2025
mizvekov wrote:
You can still do that with a "builtin-type as sugar" approach, you just have to make it a non-canonical node (ie `isSugared()` returns true).
It's one of the options, and whether we print an aka or not is still a diagnostic policy (we should do it only if it's relevant, but our implementation is currently very simple).
https://github.com/llvm/llvm-project/pull/136542
More information about the cfe-commits
mailing list