| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramState.h | 352 Loc getLValue(const CXXBaseSpecifier &BaseSpec, const SubRegion *Super) const; 355 Loc getLValue(const CXXRecordDecl *BaseClass, const SubRegion *Super, 359 Loc getLValue(const VarDecl *D, const LocationContext *LC) const; 361 Loc getLValue(const CompoundLiteralExpr *literal, 365 SVal getLValue(const ObjCIvarDecl *decl, SVal base) const; 368 SVal getLValue(const FieldDecl *decl, SVal Base) const; 371 SVal getLValue(const IndirectFieldDecl *decl, SVal Base) const; 374 SVal getLValue(QualType ElementType, SVal Idx, SVal Base) const; 750 inline Loc ProgramState::getLValue(const CXXBaseSpecifier &BaseSpec, in getLValue() function 758 inline Loc ProgramState::getLValue(const CXXRecordDecl *BaseClass, in getLValue() function [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineObjC.cpp | 27 SVal location = state->getLValue(Ex->getDecl(), baseVal); in VisitLvalObjCIvarRefExpr() 121 elementV = state->getLValue(elemD, Pred->getLocationContext()); in VisitObjCForCollectionStmt()
|
| H A D | ExprEngineCXX.cpp | 120 LValue = State->getLValue(Ty, SVB.makeArrayIndex(Idx), LValue); in makeElementRegion() 149 return makeElementRegion(State, State->getLValue(Var, LCtx), Ty, in computeObjectUnderConstruction() 175 FieldVal = State->getLValue(Init->getIndirectMember(), ThisVal); in computeObjectUnderConstruction() 178 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction() 332 Base = State->getLValue(E->getType(), svalBuilder.makeArrayIndex(Idx), in computeObjectUnderConstruction() 1133 state = state->bindLoc(state->getLValue(VD, LCtx), V, LCtx); in VisitCXXCatchStmt() 1171 SVal FieldLoc = State->getLValue(FieldForCapture, V); in VisitLambdaExpr()
|
| H A D | ExprEngine.cpp | 1196 FieldLoc = State->getLValue(BMI->getIndirectMember(), thisVal); in ProcessInitializer() 1199 FieldLoc = State->getLValue(BMI->getMember(), thisVal); in ProcessInitializer() 1348 SVal dest = state->getLValue(varDecl, LCtx); in ProcessAutomaticObjDtor() 1467 ArgR = State->getLValue(DTy, svalBuilder.makeArrayIndex(Idx), ArgVal) in ProcessDeleteDtor() 1518 SVal FieldVal = State->getLValue(Member, ThisLoc); in ProcessMemberDtor() 3196 return std::make_pair(state->getLValue(FD, CXXThisVal), FD->getType()); in VisitCommonDeclRefExpr() 3212 VInfo = std::make_pair(state->getLValue(VD, LocCtxt), VD->getType()); in VisitCommonDeclRefExpr() 3267 SVal Base = state->getLValue(DD, LCtx); in VisitCommonDeclRefExpr() 3280 V = state->getLValue(Field, Base); in VisitCommonDeclRefExpr() 3291 V = state->getLValue(BD->getType(), Idx, Base); in VisitCommonDeclRefExpr() [all …]
|
| H A D | BugReporterVisitors.cpp | 194 SVal StructSVal = N->getState()->getLValue(VD, N->getLocationContext()); in getLocationRegionIfReference() 195 return N->getState()->getLValue(FD, StructSVal).getAsRegion(); in getLocationRegionIfReference() 205 return N->getState()->getLValue(VD, N->getLocationContext()).getAsRegion(); in getLocationRegionIfReference() 248 return State->getSVal(State->getLValue(VD, LCtx)); in getSValForVar() 879 State->getLValue(VD, LCtx).getAsRegion())) in matchAssignment() 1580 OriginField = State->getLValue(FR->getDecl(), OriginField); in VisitNode() 1582 OriginField = State->getLValue(ER->getElementType(), in VisitNode() 2947 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()), in patternMatch()
|
| H A D | ProgramState.cpp | 466 SVal ProgramState::getLValue(const FieldDecl *D, SVal Base) const { in getLValue() function in ProgramState 472 SVal ProgramState::getLValue(const IndirectFieldDecl *D, SVal Base) const { in getLValue() function in ProgramState
|
| H A D | ExprEngineC.cpp | 593 Loc CLLoc = State->getLValue(CL, LCtx); in VisitCompoundLiteralExpr() 668 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
|
| H A D | CallEvent.cpp | 1007 SVal IvarLVal = getState()->getLValue(PropIvar, getReceiverSVal()); in getExtraInvalidatedValues()
|
| H A D | SimpleSValBuilder.cpp | 1097 return state->getLValue(FD, Result); in evalBinOpLN()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 298 State->getLValue(I, loc::MemRegionVal(R)).castAs<loc::MemRegionVal>(); in isNonUnionUninit() 354 const auto *BaseRegion = State->getLValue(BaseSpec, R) in isNonUnionUninit()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonNullParamChecker.cpp | 264 Loc ParameterLoc = State->getLValue(Parameter, LocContext); in checkBeginFunction()
|
| H A D | CheckObjCDealloc.cpp | 290 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() 946 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut()
|
| H A D | IteratorModeling.cpp | 651 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr() 655 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
|
| H A D | NullabilityChecker.cpp | 409 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation() 441 SVal LV = State->getLValue(IvarDecl, SelfVal); in checkSelfIvarsForInvariantViolation()
|
| H A D | CStringChecker.cpp | 466 State->getLValue(ElemTy, Zero, loc::MemRegionVal(SuperR)).getAs<Loc>(); in checkInit() 523 State->getLValue(ElemTy, LastIdx, loc::MemRegionVal(SuperR)); in checkInit() 2780 Loc VarLoc = state->getLValue(D, C.getLocationContext()); in checkPreStmt()
|
| H A D | BasicObjCFoundationChecks.cpp | 903 ElementLoc = State->getLValue(ElemDecl, LCtx); in checkElementNonNil()
|