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

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sat May 30 23:26:22 PDT 2026


================
@@ -7016,6 +7016,21 @@ static void handleCountedByAttrField(Sema &S, Decl *D, const ParsedAttr &AL) {
   if (S.CheckCountedByAttrOnField(FD, CountExpr, CountInBytes, OrNull))
     return;
 
+  // --- CThisExpr Interception Block (This block swaps the DeclRefExpr out)---
----------------
ojhunt wrote:

This comment is unnecessary, and certainly there are no pseudo-block comments, and that's out of place.

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


More information about the cfe-commits mailing list