llvm / llvm/llvm-project

[APINotes][BoundsSafety]

Open
#183,340 8 comments 0 reactions 1 assignee Claimed by @flash1729 View on GitHub
clang:bounds-safety
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Support for adding bounds annotations using API notes was added downstream to github.com/swiftlang/llvm-project in https://github.com/swiftlang/llvm-project/commit/721e6a33e65fb78704e866ebca68a37793de5bfc. The fact that this addition to the API notes is only available downstream means that the `VERSION_MINOR` numbers have fallen out of sync between downstream and upstream. The feature was initially added downstream because upstream clang did not support `__counted_by` etc in function signatures, however we could still support parsing the API notes (to align the format) even though the semantic effect is not yet supported upstream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.