| Issue |
167365
|
| Summary |
Extend `counted_by` support beyond struct fields
|
| Labels |
clang:bounds-safety
|
| Assignees |
|
| Reporter |
rapidsna
|
Currently, `counted_by` and related attributes are only supported in struct fields. This issue tracks extending support to:
- Function parameters
- Return types
- Global variables
- Local variables
For `typedef`, support would only make sense if the attribute argument is a constexpr or constant literal.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs