Delyan Angelov
|
d41a4ec662
|
v test-self: check unsafe_test.v, match_test.v, match_in_fn_call_test.v with -cstrict
|
2021-07-20 19:34:16 +03:00 |
Delyan Angelov
|
cf3dd7a51f
|
v.checker: fix `unused variable` warning on `*p = val`
|
2021-05-12 18:03:01 +03:00 |
Lukas Neubert
|
4a10514081
|
tests: run vfmt over some of the tests in vlib/v/tests (#9455)
|
2021-03-27 19:29:57 +02:00 |
ka-weihe
|
f885c7cea9
|
tests: fix three tests with address errors (#9441)
|
2021-03-24 00:01:29 +02:00 |
Alexander Medvednikov
|
60c936a688
|
tests: remove map reference test
|
2020-12-20 07:59:39 +01:00 |
Delyan Angelov
|
3c4b87bfec
|
checker: add check against `fn test_opt() ?{}`
|
2020-11-20 15:12:53 +02:00 |
spaceface777
|
bb91dc90a5
|
checker: fix `&` on pointers (#6787)
|
2020-11-10 13:12:21 +02:00 |
Swastik Baranwal
|
aea52af9ae
|
checker: add is_mut check for disallowing taking address of map's key and array's element outside unsafe (#6573)
|
2020-10-08 09:37:18 +03:00 |
Swastik Baranwal
|
d77669da80
|
test: add tests for disallowing map/array get element/key address (#6568)
|
2020-10-05 18:40:51 +03:00 |
Swastik Baranwal
|
5f07b255bd
|
checker: disallow address of array and map index outside unsafe (#6557)
|
2020-10-05 13:08:30 +02:00 |
Nick Treleaven
|
9958881cbe
|
parser: support parsing unsafe (as first token) as UnsafeExpr (#6032)
|
2020-09-19 19:18:36 +03:00 |
Nick Treleaven
|
2dd90de993
|
parser: error on `[unsafe_fn]` (#6090)
|
2020-08-09 12:22:11 +03:00 |
Nick Treleaven
|
6cc8815931
|
parser: support [unsafe] instead of [unsafe_fn] (#6066)
|
2020-08-08 16:24:05 +02:00 |
Nick Treleaven
|
c33dbbc216
|
fmt: don't add newlines for UnsafeExpr (#6048)
|
2020-08-04 00:29:10 +02:00 |
Alexander Medvednikov
|
f269cbdc94
|
Revert "parser: Support `unsafe(expr)` (#5973)"
This reverts commit 19c226fcf8 .
|
2020-07-29 21:41:47 +02:00 |
Nick Treleaven
|
19c226fcf8
|
parser: Support `unsafe(expr)` (#5973)
|
2020-07-28 11:20:52 +03:00 |
Enzo
|
2de1437a1e
|
ci: vet all files from the compiler (#5994)
|
2020-07-27 12:15:29 +02:00 |
Nick Treleaven
|
15ca64d81d
|
tests: rename pointer_arithmetic_should_be_checked.vv -> unsafe_required.vv (#5897)
|
2020-07-20 23:04:22 +03:00 |
Delyan Angelov
|
fb4c3ff31a
|
tests: split unsafe.v to vlib/v/tests/unsafe_test.v and a checker output .vv&.out test
|
2020-07-20 16:53:27 +03:00 |