Home
last modified time | relevance | path

Searched refs:getAsSymbol (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DTrustNonnullChecker.cpp68 const SymbolRef CondS = Cond.getAsSymbol(); in evalAssume()
115 SymbolRef ArgS = Msg.getArgSVal(0).getAsSymbol(); in checkPostObjCMessage()
116 SymbolRef RetS = Msg.getReturnValue().getAsSymbol(); in checkPostObjCMessage()
H A DCheckObjCDealloc.cpp268 SymbolRef SelfSymbol = SelfVal.getAsSymbol(); in checkBeginFunction()
296 SymbolRef Symbol = InitialVal.getAsSymbol(); in checkBeginFunction()
346 ReleasedValue = M.getReceiverSVal().getAsSymbol(); in checkPreObjCMessage()
348 if (diagnoseMistakenDealloc(M.getReceiverSVal().getAsSymbol(), M, C)) in checkPreObjCMessage()
380 SymbolRef ReleasedValue = Call.getArgSVal(0).getAsSymbol(); in checkPreCall()
417 auto *CondBSE = dyn_cast_or_null<BinarySymExpr>(Cond.getAsSymbol()); in evalAssume()
507 SymbolRef SelfSym = SelfVal.getAsSymbol(); in diagnoseMissingReleases()
952 return CurrentValInIvar.getAsSymbol(); in getValueReleasedByNillingOut()
H A DNoOwnershipChangeVisitor.cpp34 if (Val.getAsSymbol() == Sym) in HandleBinding()
114 if (V.getAsSymbol() == Sym) in maybeEmitNoteForParameters()
H A DObjCSuperDeallocChecker.cpp87 SymbolRef ReceiverSymbol = M.getReceiverSVal().getAsSymbol(); in checkPreObjCMessage()
121 SymbolRef SelfSymbol = State->getSelfSVal(LC).getAsSymbol(); in checkPostObjCMessage()
206 SymbolRef Sym = CE.getArgSVal(I).getAsSymbol(); in diagnoseCallArguments()
H A DTaint.cpp54 SymbolRef Sym = V.getAsSymbol(); in addTaint()
71 if (SymbolRef Sym = binding->getAsSymbol()) in addTaint()
100 SymbolRef Sym = V.getAsSymbol(); in removeTaint()
206 if (SymbolRef Sym = V.getAsSymbol()) in getTaintedSymbolsImpl()
H A DObjCContainersChecker.cpp37 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym()
70 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE()
H A DSimpleStreamChecker.cpp99 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); in REGISTER_MAP_WITH_PROGRAMSTATE()
115 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); in checkPreCall()
H A DContainerModeling.cpp445 SymMgr.getType(EndSym)).getAsSymbol(); in handlePushBack()
474 SymMgr.getType(EndSym)).getAsSymbol(); in handlePopBack()
519 SymMgr.getType(BeginSym)).getAsSymbol(); in handlePushFront()
556 SymMgr.getType(BeginSym)).getAsSymbol(); in handlePopFront()
681 SymMgr.getType(Pos->getOffset())).getAsSymbol(); in handleEraseAfter()
1041 SymMgr.getType(OrigExpr)).getAsSymbol(); in rebaseSymbol()
H A DStreamChecker.cpp650 StreamSym = getStreamArg(Desc, Call).getAsSymbol(); in Init()
898 SymbolRef RetSym = RetVal.getAsSymbol(); in evalFopen()
945 SymbolRef StreamSym = StreamVal->getAsSymbol(); in evalFreopen()
1009 SymbolRef Sym = StreamVal.getAsSymbol(); in preRead()
1649 if (SymbolRef StreamSym = StreamVal.getAsSymbol()) { in evalFflush()
1762 SymbolRef StreamSym = getStreamArg(Desc, Call).getAsSymbol(); in evalSetFeofFerror()
1802 SymbolRef Sym = StreamVal.getAsSymbol(); in ensureStreamOpened()
1851 SymbolRef Sym = StreamVal.getAsSymbol(); in ensureNoFilePositionIndeterminate()
H A DBasicObjCFoundationChecks.cpp957 SymbolRef CollectionS = C.getSVal(FCS->getCollection()).getAsSymbol(); in assumeCollectionNonEmpty()
1031 SymbolRef ContainerS = M.getReceiverSVal().getAsSymbol(); in checkPostObjCMessage()
1041 SymbolRef CountS = C.getSVal(MsgExpr).getAsSymbol(); in checkPostObjCMessage()
1092 return Message->getReceiverSVal().getAsSymbol(); in getMethodReceiverIfKnownImmutable()
H A DSetgidSetuidOrderChecker.cpp125 SymbolRef RetSym = Call.getReturnValue().getAsSymbol(); in processSetuid()
H A DMIGChecker.cpp126 SymbolRef Sym = V.getAsSymbol(IncludeBaseRegions); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DMallocChecker.cpp2096 SymbolRef RetStatusSymbol = RetVal.getAsSymbol(); in FreeMemAux()
2706 SymbolRef ToPtr = RetVal.getAsSymbol(); in ReallocMemAux()
2910 if (SymbolRef Sym = C.getSVal(DE->getArgument()).getAsSymbol()) in checkPreCall()
2927 SymbolRef Sym = DC->getCXXThisVal().getAsSymbol(); in checkPreCall()
2951 SymbolRef Sym = CC->getCXXThisVal().getAsSymbol(); in checkPreCall()
2960 SymbolRef Sym = ArgSVal.getAsSymbol(); in checkPreCall()
2994 SymbolRef Sym = RetVal.getAsSymbol(); in checkEscapeOnReturn()
3073 if (SymbolRef Sym = C.getSVal(Arg).getAsSymbol()) in suppressDeallocationsInSuspiciousContexts()
3226 EscapingSymbol = Msg->getReceiverSVal().getAsSymbol(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
H A DArrayBoundCheckerV2.cpp111 return providesInformationAboutInteresting(SV.getAsSymbol(), BR); in providesInformationAboutInteresting()
676 if (SymbolRef Sym = Val.getAsSymbol()) { in markPartsInteresting()
H A DInnerPointerChecker.cpp230 if (SymbolRef Sym = RawPtr.getAsSymbol(/*IncludeBaseRegions=*/true)) { in checkPostCall()
H A DIteratorModeling.cpp777 } else if (const auto Sym = Val.getAsSymbol()) { in removeIteratorPosition()
805 if (const auto CompSym = comparison.getAsSymbol()) { in relateSymbols()
H A DPthreadLockChecker.cpp587 SymbolRef sym = Call.getReturnValue().getAsSymbol(); in DestroyLockAux()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp234 if (SymbolRef sym = V.getAsSymbol()) in processObjCLiterals()
249 state->getSVal(Ex, pred->getLocationContext()).getAsSymbol()) { in processObjCLiterals()
275 if (SymbolRef Sym = Pred->getSVal(Ex).getAsSymbol()) { in checkPostStmt()
291 SymbolRef Sym = State->getSVal(*IVarLoc).getAsSymbol(); in checkPostStmt()
479 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in processSummaryOfInlined()
687 if (SymbolRef Sym = CallOrMsg.getReturnValue().getAsSymbol()) { in checkSummary()
1349 SymbolRef Sym = state->getSVal(state->getRegion(Param, LCtx)).getAsSymbol(); in checkBeginFunction()
H A DRetainCountDiagnostics.cpp179 if (CurrSt->getSVal(MR, TR->getValueType()).getAsSymbol() == Sym) in findArgIdxOfSymbol()
719 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite()
938 if (Node->getState()->getSVal(AllocFirstBinding).getAsSymbol() == Sym) { in findBindingToReport()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp284 if (SymbolRef sym = V.getAsSymbol()) { in getSVal()
401 SymbolRef Sym = V.getAsSymbol(/* IncludeBaseRegion */ true); in isNull()
621 if (SymbolRef Sym = val.getAsSymbol()) in scan()
H A DRangedConstraintManager.cpp242 if (SymbolRef SimplifiedSym = SimplifiedVal.getAsSymbol()) in simplify()
H A DSVals.cpp104 SymbolRef SVal::getAsSymbol(bool IncludeBaseRegions) const { in getAsSymbol() function in SVal
H A DRegionStore.cpp1025 if (SymbolRef Sym = V.getAsSymbol()) in VisitBinding()
1893 if (SymbolRef ParentValueAsSym = ParentValue->getAsSymbol()) in getDerivedSymbolForBinding()
2020 if (SymbolRef parentSym = val.getAsSymbol()) in getBindingForDerivedDefaultValue()
2171 if (SymbolRef parentSym = V->getAsSymbol()) in getBindingForObjCIvar()
H A DCallEvent.cpp929 if (SymbolRef Sym = V.getAsSymbol(true)) in getExtraInvalidatedValues()
1323 if (SymbolRef ReceiverSym = getReceiverSVal().getAsSymbol()) { in getRuntimeDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h138 SymbolRef getAsSymbol(bool IncludeBaseRegions = false) const;
154 if (const SymExpr *SE = getAsSymbol(/*IncludeBaseRegions=*/true)) in symbols()

12