zig/src
Andrew Kelley 32e0dfd4f0 never call malloc with size 0
instead we return nullptr. this makes the behavior consistent
across all platforms.

closes #1044
closes #1045
2018-06-04 14:09:31 -04:00
..
all_types.hpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
analyze.cpp never call malloc with size 0 2018-06-04 14:09:31 -04:00
analyze.hpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
ast_render.cpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
ast_render.hpp
bigfloat.cpp add @sqrt built-in function 2018-04-15 13:26:58 -04:00
bigfloat.hpp add @sqrt built-in function 2018-04-15 13:26:58 -04:00
bigint.cpp Fix bigint shift-right partial shift 2018-05-10 22:26:26 +12:00
bigint.hpp ability to set tag values of enums 2017-12-02 22:32:39 -05:00
buffer.cpp the same string literal codegens to the same constant 2018-01-11 21:02:30 -05:00
buffer.hpp fix up msvc stuff to make it work on linux and macos too 2017-09-13 02:40:02 -04:00
c_tokenizer.cpp translate-c: refactor prefix and suffix op C macro parsing 2017-12-07 11:52:52 -05:00
c_tokenizer.hpp translate-c: refactor prefix and suffix op C macro parsing 2017-12-07 11:52:52 -05:00
codegen.cpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
codegen.hpp add --forbid-library 2018-02-04 22:06:03 -05:00
config.h.in find libc and zig std lib at runtime 2018-03-30 17:10:54 -04:00
errmsg.cpp Fix the color of compiler messages for light-themed terminal. 2017-12-04 19:22:34 +09:00
errmsg.hpp
error.cpp fix build broken by previous commit 2017-11-29 23:09:35 -05:00
error.hpp fix build broken by previous commit 2017-11-29 23:09:35 -05:00
hash_map.hpp
ir_print.cpp use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
ir_print.hpp
ir.cpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
ir.hpp
link.cpp add --no-rosegment cli option 2018-04-18 17:14:09 -04:00
link.hpp
list.hpp
main.cpp add --no-rosegment cli option 2018-04-18 17:14:09 -04:00
os.cpp exit(1) instead of abort() for file not found 2018-04-22 21:47:25 -04:00
os.hpp Add run compiler command 2018-04-01 17:03:06 +12:00
parser.cpp disallow single-item pointer indexing 2018-06-04 01:39:57 -04:00
parser.hpp fix examples and rename std.rand.Rand to std.rand.Random 2018-03-29 12:33:29 -04:00
range_set.cpp
range_set.hpp
softfloat.hpp depend on embedded SoftFloat-3d instead of __float128 2017-09-14 01:46:47 -04:00
target.cpp OpenBSD has the same C integer sizes as Linux 2018-05-16 20:18:38 -04:00
target.hpp add @newStackCall builtin function 2018-05-12 17:35:15 -04:00
tokenizer.cpp introduce [*] for unknown length pointers 2018-06-02 04:04:23 -04:00
tokenizer.hpp introduce [*] for unknown length pointers 2018-06-02 04:04:23 -04:00
translate_c.cpp use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
translate_c.hpp rename "parsec" to "translate-c" 2017-11-24 14:56:05 -05:00
util.cpp support linking against MSVC libc 2017-10-01 21:05:08 -04:00
util.hpp never call malloc with size 0 2018-06-04 14:09:31 -04:00
windows_com.hpp WIN32: Linking with the CRT at runtime. (#570) 2017-11-01 15:33:14 -04:00
zig_llvm.cpp improve cmpxchg 2018-04-18 12:16:42 -04:00
zig_llvm.h improve cmpxchg 2018-04-18 12:16:42 -04:00