================ @@ -461,7 +446,7 @@ ProgramStateRef CStringChecker::checkInit(CheckerContext &C, if (!ER) return State; - const TypedValueRegion *Orig = getOriginRegion(ER); + const auto *Orig = ER->getSuperRegion()->getAs<TypedValueRegion>(); ---------------- NagyDonat wrote:
Nitpick: also change the name "`Orig`". https://github.com/llvm/llvm-project/pull/95408 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits