[clang] [Clang][CodeGen] Bail out on constexpr unknown values in ConstantEmitter (PR #127525)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 09:59:13 PST 2025


https://github.com/efriedma-quic commented:

Does it even make sense for evaluateValue to return a constexpr-unknown value?  If I'm following correctly, we can't actually do anything useful with such a result: we don't actually know what the value is.  It would make things simpler if we kept such APValues as an internal implementation detail of ExprConstant. 

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


More information about the cfe-commits mailing list