diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-29 23:35:34 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-29 23:35:34 -0500 |
| commit | d2b94afaf2383bbcb03ab201e544aa830c082e99 (patch) | |
| tree | 4b79c49847896a7962ba7e151121f4a7ec6fa584 /src/analyze.hpp | |
| parent | 3caf6bacdcc797167e5db1b5545aad8e464cf311 (diff) | |
| download | zig-d2b94afaf2383bbcb03ab201e544aa830c082e99.tar.gz zig-d2b94afaf2383bbcb03ab201e544aa830c082e99.zip | |
fix compile time initialization of array with undefined
Diffstat (limited to 'src/analyze.hpp')
| -rw-r--r-- | src/analyze.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze.hpp b/src/analyze.hpp index b74f91a049..2af0010557 100644 --- a/src/analyze.hpp +++ b/src/analyze.hpp @@ -136,4 +136,6 @@ ConstExprValue *create_const_slice(CodeGen *g, ConstExprValue *array_val, size_t void init_const_arg_tuple(CodeGen *g, ConstExprValue *const_val, size_t arg_index_start, size_t arg_index_end); ConstExprValue *create_const_arg_tuple(CodeGen *g, size_t arg_index_start, size_t arg_index_end); +void init_const_undefined(ConstExprValue *const_val); + #endif |
