================
@@ -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.
----------------
Caryoake wrote:
So in cases (for future reference) like this you'd always recommend I keep it
short and simple like your E.g; ?
https://github.com/llvm/llvm-project/pull/199241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits