Closed secure-sw-dev-bot closed 2 years ago
This issue was copied from https://github.com/microsoft/checkedc/issues/466
This PR updates the tests to reflect the updated type checking behavior for address-of array subscripts in checkedc-clang/1163. If an expression e has type T, then &e[idx] and &idx[e] also have type T.
e
T
&e[idx]
&idx[e]
This issue was copied from https://github.com/microsoft/checkedc/issues/466
This PR updates the tests to reflect the updated type checking behavior for address-of array subscripts in checkedc-clang/1163. If an expression
e
has typeT
, then&e[idx]
and&idx[e]
also have typeT
.