zig/test/cases
Andrew Kelley fcbb7426fa use * for pointer type instead of &
See #770

To help automatically translate code, see the
zig-fmt-pointer-reform-2 branch.

This will convert all & into *. Due to the syntax
ambiguity (which is why we are making this change),
even address-of & will turn into *, so you'll have
to manually fix thes instances. You will be guaranteed
to get compile errors for them - expected 'type', found 'foo'
2018-05-31 17:28:07 -04:00
..
bugs use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
import [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
namespace_depends_on_compile_var [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
pub_enum syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
align.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
alignof.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
array.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
asm.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
atomics.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
bitcast.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
bool.zig syntax: functions require return type. remove `->` 2018-01-25 04:10:11 -05:00
cast.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
const_slice_child.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
coroutines.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
defer.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
enum.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
enum_with_members.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
error.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
eval.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
field_parent_ptr.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
fn.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
fn_in_struct_in_comptime.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
for.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
generics.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
if.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
import.zig add import test 2017-09-09 22:54:50 -04:00
incomplete_struct_param_tld.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
ir_block_deps.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
math.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
misc.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
new_stack_call.zig Merge branch 'master' into pointer-reform 2018-05-13 13:38:03 -04:00
null.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
pointers.zig support foo.* for ptr deref 2018-04-30 14:20:56 -04:00
ref_var_in_if_after_if_2nd_switch_prong.zig [breaking] delete ptr deref prefix op 2018-04-30 20:35:54 -04:00
reflection.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
sizeof_and_typeof.zig add ptrToInt builtin, remove usize(ptr) cast 2017-08-08 17:38:25 -04:00
slice.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
struct.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
struct_contains_null_ptr_itself.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
struct_contains_slice_of_itself.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
switch.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
switch_prong_err_enum.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
switch_prong_implicit_cast.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
syntax.zig trailing comma after var args is not supported 2018-05-25 20:41:14 -04:00
this.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
try.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
type_info.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
undefined.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
union.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
var_args.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
void.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00
while.zig run zig fmt on the codebase 2018-05-29 04:23:38 -04:00