Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h51 class RefVal {
184 RefVal operator-(size_t i) const {
189 RefVal operator+(size_t i) const {
194 RefVal operator^(Kind k) const {
199 RefVal autorelease() const { in autorelease()
204 RefVal withIvarAccess() const { in withIvarAccess()
210 RefVal releaseViaIvar() const { in releaseViaIvar()
217 bool hasSameState(const RefVal &X) const { in hasSameState()
222 bool operator==(const RefVal& X) const {
335 RefVal V, ArgEffect E, RefVal::Kind &hasErr,
[all …]
H A DRetainCountChecker.cpp218 RefVal::Kind hasErr = (RefVal::Kind) 0; in checkPostStmt()
237 RefVal::Kind hasErr = (RefVal::Kind) 0; in processObjCLiterals()
326 RefVal PlusZero = RefVal::makeNotOwned(Kind, Ty); in checkPostStmt()
611 RefVal::Kind hasErr = (RefVal::Kind) 0; in checkSummary()
752 case RefVal::Owned: in updateSymbol()
788 case RefVal::Owned: in updateSymbol()
803 case RefVal::Owned: in updateSymbol()
996 RefVal X = *T; in processReturn()
999 case RefVal::Owned: { in processReturn()
1007 case RefVal::NotOwned: { in processReturn()
[all …]
H A DRetainCountDiagnostics.cpp97 const RefVal *PrevT, in shouldGenerateNote()
98 const RefVal &CurrV, in shouldGenerateNote()
101 RefVal PrevV = *PrevT; in shouldGenerateNote()
109 if (CurrV.getKind() == RefVal::Released) { in shouldGenerateNote()
119 case RefVal::Owned: in shouldGenerateNote()
120 case RefVal::NotOwned: in shouldGenerateNote()
141 case RefVal::Released: in shouldGenerateNote()
150 case RefVal::ReturnedOwned: in shouldGenerateNote()
159 case RefVal::ReturnedNotOwned: in shouldGenerateNote()
487 const RefVal* CurrT = getRefBinding(CurrSt, Sym); in VisitNode()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp602 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference(); in verifyDebugInfoForm() local
603 assert(RefVal); in verifyDebugInfoForm()
604 if (RefVal) { in verifyDebugInfoForm()
618 ReferenceToDIEOffsets[*RefVal].insert(Die.getOffset()); in verifyDebugInfoForm()
626 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference(); in verifyDebugInfoForm() local
627 assert(RefVal); in verifyDebugInfoForm()
628 if (RefVal) { in verifyDebugInfoForm()
629 if (*RefVal >= DieCU->getInfoSection().Data.size()) { in verifyDebugInfoForm()
637 ReferenceToDIEOffsets[*RefVal].insert(Die.getOffset()); in verifyDebugInfoForm()