[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 09:41:42 PST 2024


rapidsna wrote:

> This prints a wrapped calculation instead of the expected "0".

Shouldn't `getDefaultBuiltinObjectSizeResult` return `-1`? Have you tried `-2` to see if it's returning the negative count value or it happens to be equal to the default value?

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


More information about the cfe-commits mailing list