| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramState.h | 350 Loc getLValue(const CXXRecordDecl *BaseClass, const SubRegion *Super, 354 Loc getLValue(const VarDecl *D, const LocationContext *LC) const; 356 Loc getLValue(const CompoundLiteralExpr *literal, 360 SVal getLValue(const ObjCIvarDecl *decl, SVal base) const; 363 SVal getLValue(const FieldDecl *decl, SVal Base) const; 366 SVal getLValue(const IndirectFieldDecl *decl, SVal Base) const; 369 SVal getLValue(QualType ElementType, SVal Idx, SVal Base) const; 753 inline Loc ProgramState::getLValue(const CXXBaseSpecifier &BaseSpec, in getLValue() function 761 inline Loc ProgramState::getLValue(const CXXRecordDecl *BaseClass, in getLValue() function 769 inline Loc ProgramState::getLValue(const VarDecl *VD, in getLValue() function [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCXX.cpp | 107 LValue = State->getLValue(Ty, SVB.makeArrayIndex(Idx), LValue); in makeElementRegion() 130 return makeElementRegion(State, State->getLValue(Var, LCtx), Ty, in computeObjectUnderConstruction() 156 FieldVal = State->getLValue(Init->getIndirectMember(), ThisVal); in computeObjectUnderConstruction() 159 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction() 304 Base = State->getLValue(E->getType(), svalBuilder.makeArrayIndex(Idx), in computeObjectUnderConstruction() 537 Base = State->getLValue(cast<VarDecl>(DRE->getDecl()), LCtx); in bindRequiredArrayElementToEnvironment() 541 SVal NthElem = State->getLValue(CE->getType(), Idx, Base); in bindRequiredArrayElementToEnvironment() 1101 state = state->bindLoc(state->getLValue(VD, LCtx), V, LCtx); in VisitCXXCatchStmt() 1142 SVal FieldLoc = State->getLValue(FieldForCapture, V); in VisitLambdaExpr()
|
| H A D | ExprEngineObjC.cpp | 27 SVal location = state->getLValue(Ex->getDecl(), baseVal); in VisitLvalObjCIvarRefExpr() 120 elementV = state->getLValue(elemD, Pred->getLocationContext()); in VisitObjCForCollectionStmt()
|
| H A D | ExprEngine.cpp | 1021 FieldLoc = State->getLValue(BMI->getIndirectMember(), thisVal); in ProcessInitializer() 1024 FieldLoc = State->getLValue(BMI->getMember(), thisVal); in ProcessInitializer() 1127 SVal dest = state->getLValue(varDecl, Pred->getLocationContext()); in ProcessAutomaticObjDtor() 1226 SVal FieldVal = State->getLValue(Member, ThisLoc); in ProcessMemberDtor() 2788 SVal Base = state->getLValue(DD, LCtx); in VisitCommonDeclRefExpr() 2801 V = state->getLValue(Field, Base); in VisitCommonDeclRefExpr() 2812 V = state->getLValue(BD->getType(), Idx, Base); in VisitCommonDeclRefExpr() 2816 V = state->getLValue(HV, LCtx); in VisitCommonDeclRefExpr() 2935 Base = state->getLValue(cast<VarDecl>(DRE->getDecl()), LCtx); in VisitArrayInitLoopExpr() 2983 SVal V = state->getLValue(T, in VisitArraySubscriptExpr() [all …]
|
| H A D | ExprEngineC.cpp | 561 Loc CLLoc = State->getLValue(CL, LCtx); in VisitCompoundLiteralExpr() 635 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
|
| H A D | BugReporterVisitors.cpp | 169 ->getLValue(VD, N->getLocationContext()) in getLocationRegionIfReference() 223 return State->getSVal(State->getLValue(VD, LCtx)); in getSValForVar() 942 State->getLValue(VD, LCtx).getAsRegion())) in matchAssignment() 2782 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()), in patternMatch()
|
| H A D | CallEvent.cpp | 923 SVal IvarLVal = getState()->getLValue(PropIvar, getReceiverSVal()); in getExtraInvalidatedValues()
|
| H A D | SimpleSValBuilder.cpp | 1067 return state->getLValue(FD, Result); in evalBinOpLN()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 299 State->getLValue(I, loc::MemRegionVal(R)).castAs<loc::MemRegionVal>(); in isNonUnionUninit() 355 const auto *BaseRegion = State->getLValue(BaseSpec, R) in isNonUnionUninit()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GTestChecker.cpp | 262 State->getLValue(SuccessField, Instance).getAs<Loc>(); in getAssertionResultSuccessFieldValue()
|
| H A D | NonNullParamChecker.cpp | 263 Loc ParameterLoc = State->getLValue(Parameter, LocContext); in checkBeginFunction()
|
| H A D | CheckObjCDealloc.cpp | 284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction() 955 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut()
|
| H A D | IteratorModeling.cpp | 649 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr() 653 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
|
| H A D | NullabilityChecker.cpp | 368 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation() 400 SVal LV = State->getLValue(IvarDecl, SelfVal); in checkSelfIvarsForInvariantViolation()
|
| H A D | BasicObjCFoundationChecks.cpp | 896 ElementLoc = State->getLValue(ElemDecl, LCtx); in checkElementNonNil()
|
| H A D | CStringChecker.cpp | 2403 Loc VarLoc = state->getLValue(D, C.getLocationContext()); in checkPreStmt()
|