You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This PR updates test files to account for the new compiler behavior in checkedc-clang/1150: checking that the inferred bounds of a return expression imply the declared bounds (if any) for the enclosing function.
The test updates fall into three different categories:
Adding expected errors for functions with declared bounds that return a value with unknown bounds that were previously marked with TODOs. There were six errors of this kind: one in bounds_decl_checking.c and five in pointer_types.c.
Adding expected errors for functions with declared bounds that return a value with unknown bounds that were not previously marked with TODOs. There were two errors of this kind: one in checked_scope_interfaces.c and one in interop_type_annotations.c
Adding expected errors for return value bounds and declared function bounds that had free variables. There were five errors of this kind: all in bounds.c.
This issue was copied from checkedc/checkedc#465
This PR updates test files to account for the new compiler behavior in checkedc-clang/1150: checking that the inferred bounds of a return expression imply the declared bounds (if any) for the enclosing function.
The test updates fall into three different categories: