[clang] [Clang][analyzer] replace Stmt* with ConstCFGElementRef in SymbolConjured (PR #128251)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 23 17:26:45 PST 2025
================
@@ -130,8 +130,9 @@ void ErrnoTesterChecker::evalSetErrnoIfErrorRange(CheckerContext &C,
ProgramStateRef StateFailure = State->BindExpr(
Call.getOriginExpr(), C.getLocationContext(), SVB.makeIntVal(1, true));
- DefinedOrUnknownSVal ErrnoVal = SVB.conjureSymbolVal(
- nullptr, Call.getOriginExpr(), C.getLocationContext(), C.blockCount());
+ DefinedOrUnknownSVal ErrnoVal =
+ SVB.conjureSymbolVal(nullptr, Call.getOriginExpr(), C.getCFGElementRef(),
----------------
isuckatcs wrote:
Same as multiple previous question about the call.
https://github.com/llvm/llvm-project/pull/128251
More information about the cfe-commits
mailing list