[clang] [Clang] Fix 'counted_by' for nested struct pointers (PR #110497)
Bill Wendling via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 7 15:28:55 PDT 2024
================
@@ -1095,6 +1095,8 @@ class StructAccessBase
return Visit(E->getBase());
}
const Expr *VisitCastExpr(const CastExpr *E) {
+ if (E->getCastKind() == CK_LValueToRValue)
+ return E;
----------------
bwendling wrote:
See https://github.com/llvm/llvm-project/pull/111448
https://github.com/llvm/llvm-project/pull/110497
More information about the cfe-commits
mailing list