[clang] [BoundsSafety][Clang][Sema][AST] Introduce CThisExpr for C __counted_by attributes (PR #199241)

Karthik P via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 20:09:20 PDT 2026


Caryoake wrote:

> FYI, this will likely conflict with our downstream fork (swiftlang/llvm-project), which uses `__counted_by` and other related attributes in a broader context. We will need to do some downstream work before landing this upstream.

Understood yep. For now I'll work on refining this based on @melver's prototype and resolving the pretty-printer issues. Just let me know when the downstream is ready and we are synced

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


More information about the cfe-commits mailing list