================
@@ -497,6 +499,15 @@ til::SExpr *SExprBuilder::translateCXXThisExpr(const 
CXXThisExpr *TE,
   return SelfVar;
 }
 
+til::SExpr *
+SExprBuilder::translateCThisExpr(const CThisExpr *CE,
+                                 CallingContext *Ctx) {
+  // CThisExpr appears in attribute arguments referencing a sibling
+  // field of the enclosing record (typically in C). Substitute the current
+  // SelfArg the exact same way we do for CXXThisExpr.
----------------
ojhunt wrote:

I don't believe this is necessary at all, but something _like_ `// substitute 
the current SelfArg as we do c++ this`

https://github.com/llvm/llvm-project/pull/199241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to