zig
zig copied to clipboard
send patch to LLVM to enable evaluating array initializers to work
libclang has FIXME code preventing us from translating this:
static const int array[2] = {1, 2};
https://github.com/llvm-mirror/clang/blob/4a2d14aa185909c633da175343bc74fd978e3bfd/lib/AST/ExprConstant.cpp#L10133
updated url https://github.com/llvm/llvm-project/blob/a28b252d852c/clang/lib/AST/ExprConstant.cpp#L15388