Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp23 REGISTER_MAP_WITH_PROGRAMSTATE(RefBindings, SymbolRef, RefVal)
29 const RefVal *getRefBinding(ProgramStateRef State, SymbolRef Sym) { in getRefBinding()
38 RefVal Val) { in setRefBinding()
47 void RefVal::print(raw_ostream &Out) const { in print()
105 case RefVal::ErrorOverAutorelease: in print()
109 case RefVal::ErrorReturnedNotOwned: in print()
213 const RefVal* T = getRefBinding(state, Sym); in checkPostStmt()
217 RefVal::Kind hasErr = (RefVal::Kind) 0; in checkPostStmt()
235 if (const RefVal* T = getRefBinding(state, sym)) { in processObjCLiterals()
236 RefVal::Kind hasErr = (RefVal::Kind) 0; in processObjCLiterals()
[all …]
H A DRetainCountDiagnostics.cpp95 const RefVal *PrevT, in shouldGenerateNote()
96 const RefVal &CurrV, in shouldGenerateNote()
99 RefVal PrevV = *PrevT; in shouldGenerateNote()
107 if (CurrV.getKind() == RefVal::Released) { in shouldGenerateNote()
117 case RefVal::Owned: in shouldGenerateNote()
118 case RefVal::NotOwned: in shouldGenerateNote()
139 case RefVal::Released: in shouldGenerateNote()
141 RefVal::IvarAccessHistory::ReleasedAfterDirectAccess && in shouldGenerateNote()
148 case RefVal::ReturnedOwned: in shouldGenerateNote()
157 case RefVal::ReturnedNotOwned: in shouldGenerateNote()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp839 std::optional<uint64_t> RefVal = AttrValue.Value.getAsRelativeReference(); in verifyDebugInfoForm() local
840 assert(RefVal); in verifyDebugInfoForm()
841 if (RefVal) { in verifyDebugInfoForm()
857 LocalReferences[AttrValue.Value.getUnit()->getOffset() + *RefVal] in verifyDebugInfoForm()
866 std::optional<uint64_t> RefVal = AttrValue.Value.getAsDebugInfoReference(); in verifyDebugInfoForm() local
867 assert(RefVal); in verifyDebugInfoForm()
868 if (RefVal) { in verifyDebugInfoForm()
869 if (*RefVal >= DieCU->getInfoSection().Data.size()) { in verifyDebugInfoForm()
879 CrossUnitReferences[*RefVal].insert(Die.getOffset()); in verifyDebugInfoForm()