aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-01-29 23:35:34 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-01-29 23:35:34 -0500
commitd2b94afaf2383bbcb03ab201e544aa830c082e99 (patch)
tree4b79c49847896a7962ba7e151121f4a7ec6fa584 /src/analyze.hpp
parent3caf6bacdcc797167e5db1b5545aad8e464cf311 (diff)
downloadzig-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.hpp2
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