Home
last modified time | relevance | path

Searched refs:getLValue (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h305 Loc getLValue(const CXXBaseSpecifier &BaseSpec, const SubRegion *Super) const;
308 Loc getLValue(const CXXRecordDecl *BaseClass, const SubRegion *Super,
312 Loc getLValue(const Expr *Call, unsigned Index,
316 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
318 Loc getLValue(const CompoundLiteralExpr *literal,
322 SVal getLValue(const ObjCIvarDecl *decl, SVal base) const;
325 SVal getLValue(const FieldDecl *decl, SVal Base) const;
328 SVal getLValue(const IndirectFieldDecl *decl, SVal Base) const;
331 SVal getLValue(QualType ElementType, SVal Idx, SVal Base) const;
715 inline Loc ProgramState::getLValue(const CXXBaseSpecifier &BaseSpec, in getLValue() function
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp105 LValue = State->getLValue(Ty, SVB.makeZeroArrayIndex(), LValue); in makeZeroElementRegion()
128 return makeZeroElementRegion(State, State->getLValue(Var, LCtx), Ty, in computeObjectUnderConstruction()
154 FieldVal = State->getLValue(Init->getIndirectMember(), ThisVal); in computeObjectUnderConstruction()
157 FieldVal = State->getLValue(Init->getMember(), ThisVal); in computeObjectUnderConstruction()
967 state = state->bindLoc(state->getLValue(VD, LCtx), V, LCtx); in VisitCXXCatchStmt()
1007 SVal FieldLoc = State->getLValue(FieldForCapture, V); in VisitLambdaExpr()
H A DExprEngineObjC.cpp27 SVal location = state->getLValue(Ex->getDecl(), baseVal); in VisitLvalObjCIvarRefExpr()
120 elementV = state->getLValue(elemD, Pred->getLocationContext()); in VisitObjCForCollectionStmt()
H A DExprEngine.cpp852 FieldLoc = State->getLValue(BMI->getIndirectMember(), thisVal); in ProcessInitializer()
855 FieldLoc = State->getLValue(BMI->getMember(), thisVal); in ProcessInitializer()
958 SVal dest = state->getLValue(varDecl, Pred->getLocationContext()); in ProcessAutomaticObjDtor()
1056 SVal FieldVal = State->getLValue(Member, ThisLoc); in ProcessMemberDtor()
2559 VInfo = std::make_pair(state->getLValue(FD, CXXThisVal), FD->getType()); in VisitCommonDeclRefExpr()
2564 VInfo = std::make_pair(state->getLValue(VD, LocCtxt), VD->getType()); in VisitCommonDeclRefExpr()
2642 SVal V = state->getLValue(T, in VisitArraySubscriptExpr()
2704 SVal L = state->getLValue(field, baseExprVal); in VisitMemberExpr()
H A DBugReporterVisitors.cpp164 ->getLValue(VD, N->getLocationContext()) in getLocationRegionIfReference()
218 return State->getSVal(State->getLValue(VD, LCtx)); in getSValForVar()
884 State->getLValue(VD, LCtx).getAsRegion())) in matchAssignment()
2480 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()), in patternMatch()
H A DExprEngineC.cpp569 Loc CLLoc = State->getLValue(CL, LCtx); in VisitCompoundLiteralExpr()
643 evalBind(Dst2, DS, UpdatedN, state->getLValue(VD, LC), InitVal, true); in VisitDeclStmt()
H A DCallEvent.cpp954 SVal IvarLVal = getState()->getLValue(PropIvar, getReceiverSVal()); in getExtraInvalidatedValues()
H A DSimpleSValBuilder.cpp994 return state->getLValue(FD, Result); in evalBinOpLN()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp301 State->getLValue(I, loc::MemRegionVal(R)).castAs<loc::MemRegionVal>(); in isNonUnionUninit()
357 const auto *BaseRegion = State->getLValue(BaseSpec, R) in isNonUnionUninit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp262 State->getLValue(SuccessField, Instance).getAs<Loc>(); in getAssertionResultSuccessFieldValue()
H A DNonNullParamChecker.cpp263 Loc ParameterLoc = State->getLValue(Parameter, LocContext); in checkBeginFunction()
H A DCheckObjCDealloc.cpp284 SVal LVal = State->getLValue(PropImpl->getPropertyIvarDecl(), SelfVal); in checkBeginFunction()
955 SVal LVal = State->getLValue(PropIvarDecl, ReceiverVal); in getValueReleasedByNillingOut()
H A DIteratorModeling.cpp650 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr()
654 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr()
H A DNullabilityChecker.cpp368 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
400 SVal LV = State->getLValue(IvarDecl, SelfVal); in checkSelfIvarsForInvariantViolation()
H A DBasicObjCFoundationChecks.cpp898 ElementLoc = State->getLValue(ElemDecl, LCtx); in checkElementNonNil()
H A DCStringChecker.cpp2336 Loc VarLoc = state->getLValue(D, C.getLocationContext()); in checkPreStmt()