[clang] [Clang][Interp] Create the variable that holds the value of evaluating the binding (PR #100565)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 06:59:10 PDT 2024
tbaederr wrote:
https://godbolt.org/z/a8TW93h63
Because it isn't a constant expression - at the time of the evaluation of the `static_assert`, the parameter value `cf` is unknown and so initializing `scf` can't work. Rejecting this is correct.
https://github.com/llvm/llvm-project/pull/100565
More information about the cfe-commits
mailing list