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

Henrik G. Olsson via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 12:50:16 PDT 2026


================
@@ -1510,6 +1510,46 @@ class DeclRefExpr final
   }
 };
 
+class CThisExpr : public Expr {
+  SourceLocation Loc;
+  bool IsImplicit;
----------------
hnrklssn wrote:

Do we expect that we'll ever support explicit nodes of this kind?

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


More information about the cfe-commits mailing list