checkedc / checkedc-llvm-project

This was a fork of Checked C clang used from 2021-2024. The changes have been merged into the original Checked C clang repo, which is now at https://github.com/checkedc/checkedc-clang.
https://www.checkedc.org
13 stars 19 forks source link

Support for Bundled blocks. #1169

Closed secure-sw-dev-bot closed 2 years ago

secure-sw-dev-bot commented 2 years ago

This issue was copied from https://github.com/microsoft/checkedc-clang/issues/1172


This PR contains the modifications to the compiler required to support bundled blocks. The implementation is as per the Checked C specification (Sections 3.5 and 4.7).

secure-sw-dev-bot commented 2 years ago

Comment from @kkjeer:

There are some current tests in checkedc-clang that have TODOs for bundled block support. It would be great if these tests could be updated to use bundled blocks:

  1. member-reference.c L102
  2. member-reference.c L349
  3. member-reference.c L382
  4. member-arrow-reference.c L98