There are many issues that popped up with the counted_by feature. The patch #73730 has grown too large and approval is blocking Linux testing. Includes reverts of: commit769bc11f68("[Clang] Implement the 'counted_by' attribute (#68750)") commitbc09ec6962("[CodeGen] Revamp counted_by calculations (#70606)") commit1a09cfb2f3("[Clang] counted_by attr can apply only to C99 flexible array members (#72347)") commita76adfb992("[NFC][Clang] Refactor code to calculate flexible array member size (#72790)") commitd8447c78ab("[Clang] Correct handling of negative and out-of-bounds indices (#71877)") Partial commitb31cd07de5("[Clang] Regenerate test checks (NFC)") Closes #73168 Closes #75173
228 KiB
228 KiB