Files
llvm-project/clang/lib/CodeGen/CGExprConstant.cpp
Eli Friedman da2c4a9efe [clang] Add constant evaluation support for CK_ToUnion. (#193370)
Implementation is heavily based on the evaluation code for initializer
lists, but it's different enough that I couldn't figure out a good way
to share the code.

This fixes one of the few remaining gaps where CodeGen can
constant-evaluate a value which AST can't evaluate.
2026-04-24 14:01:06 -07:00

108 KiB