Home
last modified time | relevance | path

Searched refs:LocCtxt (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp407 const LocationContext *LocCtxt) { in checkParamsForPreconditionViolation() argument
412 SVal LV = State->getLValue(ParamDecl, LocCtxt); in checkParamsForPreconditionViolation()
423 const LocationContext *LocCtxt) { in checkSelfIvarsForInvariantViolation() argument
424 auto *MD = dyn_cast<ObjCMethodDecl>(LocCtxt->getDecl()); in checkSelfIvarsForInvariantViolation()
428 const ImplicitParamDecl *SelfDecl = LocCtxt->getSelfDecl(); in checkSelfIvarsForInvariantViolation()
432 SVal SelfVal = State->getSVal(State->getRegion(SelfDecl, LocCtxt)); in checkSelfIvarsForInvariantViolation()
457 const LocationContext *LocCtxt = C.getLocationContext(); in checkInvariantViolation() local
458 const Decl *D = LocCtxt->getDecl(); in checkInvariantViolation()
472 if (checkParamsForPreconditionViolation(Params, State, LocCtxt) || in checkInvariantViolation()
473 checkSelfIvarsForInvariantViolation(State, LocCtxt)) { in checkInvariantViolation()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp1185 const LocationContext *LocCtxt = Pred->getLocationContext(); in VisitLambdaExpr() local
1189 LE, LocCtxt); in VisitLambdaExpr()
1219 getObjectUnderConstruction(State, {LE, Idx}, LocCtxt)) { in VisitLambdaExpr()
1222 State = finishObjectConstruction(State, {LE, Idx}, LocCtxt); in VisitLambdaExpr()
1224 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr()
1228 assert(!getObjectUnderConstruction(State, {LE, Idx}, LocCtxt) && in VisitLambdaExpr()
1235 InitVal = State->getSVal(SizeExpr, LocCtxt); in VisitLambdaExpr()
1238 State = State->bindLoc(FieldLoc, InitVal, LocCtxt); in VisitLambdaExpr()
1250 State->BindExpr(LE, LocCtxt, LambdaRVal), in VisitLambdaExpr()
H A DLoopUnrolling.cpp173 const LocationContext *LocCtxt = N->getLocationContext(); in isCapturedByReference() local
174 const Decl *D = LocCtxt->getDecl(); in isCapturedByReference()
H A DExprEngine.cpp3078 const LocationContext *LocCtxt = Pred->getLocationContext(); in VisitCommonDeclRefExpr() local
3079 const Decl *D = LocCtxt->getDecl(); in VisitCommonDeclRefExpr()
3097 svalBuilder.getCXXThis(MD, LocCtxt->getStackFrame()); in VisitCommonDeclRefExpr()
3104 VInfo = std::make_pair(state->getLValue(VD, LocCtxt), VD->getType()); in VisitCommonDeclRefExpr()