[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
================
@@ -4334,6 +4345,7 @@ bool Expr::isSameComparisonOperand(const Expr* E1, const Expr* E2) {
switch (E1->getStmtClass()) {
default:
return false;
+ case CThisExprClass:
case CXXThisExprClass:
----------------
ojhunt wrote:
is this correct? can you give an example of where this occurs?
https://github.com/llvm/llvm-project/pull/199241
More information about the cfe-commits
mailing list