[clang] [clang][Sema] Keep the value of builtin arguments that must be constant (PR #246027)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 17:04:52 PST 2026


efriedma-quic wrote:

I guess I misread where exactly this is slightly; this will cover a large fraction of functions on its own.  But some functions with custom type checking will also need a helper for this.  Also, we'll need to rework this to properly evaluate the operand as a manifest constant; any cleanup we can do in advance will make that easier.

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


More information about the cfe-commits mailing list