[clang] [BoundsSafety] Add `-fexperimental-bounds-safety` CC1 and language option and use it to tweak `counted_by`'s semantics (PR #92623)

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 10:32:03 PDT 2024


rapidsna wrote:

@AaronBallman We haven't exposed the `-fbounds-safety` flag yet. The idea was to guard it under the experimental flag called `-fexperimental-bounds-safety` as a CC1 flag for testing until we have the full feature available (the feature is work-in-progress and is going to take some time to implement). Then, we would create to `-fbounds-safety` exposed as driver and CC1 flags. We would deprecate `-fexperimental-bounds-safety` after that point but might have to keep as an alias of `-fbounds-safety` for a release so people can switch over to `-fbounds-safety`. 

Does it sound like a reasonable strategy for you?


https://github.com/llvm/llvm-project/pull/92623


More information about the cfe-commits mailing list