zig icon indicating copy to clipboard operation
zig copied to clipboard

send patch to LLVM to enable evaluating array initializers to work

Open andrewrk opened this issue 8 years ago • 1 comments

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

andrewrk avatar Dec 04 '17 19:12 andrewrk

updated url https://github.com/llvm/llvm-project/blob/a28b252d852c/clang/lib/AST/ExprConstant.cpp#L15388

nektro avatar Mar 06 '23 05:03 nektro