Searched refs:RefVal (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.h | 50 class RefVal { 109 RefVal(Kind k, ObjKind o, unsigned cnt, unsigned acnt, QualType t, in RefVal() function 171 static RefVal makeOwned(ObjKind o, QualType t) { in makeOwned() 172 return RefVal(Owned, o, /*Count=*/1, 0, t, IvarAccessHistory::None); in makeOwned() 179 static RefVal makeNotOwned(ObjKind o, QualType t) { in makeNotOwned() 180 return RefVal(NotOwned, o, /*Count=*/0, 0, t, IvarAccessHistory::None); in makeNotOwned() 183 RefVal operator-(size_t i) const { 184 return RefVal(getKind(), getObjKind(), getCount() - i, 188 RefVal operator+(size_t i) const { 189 return RefVal(getKind(), getObjKind(), getCount() + i, [all …]
|
| H A D | RetainCountChecker.cpp | 22 REGISTER_MAP_WITH_PROGRAMSTATE(RefBindings, SymbolRef, RefVal) 28 const RefVal *getRefBinding(ProgramStateRef State, SymbolRef Sym) { in getRefBinding() 37 RefVal Val) { in setRefBinding() 46 void RefVal::print(raw_ostream &Out) const { in print() 104 case RefVal::ErrorOverAutorelease: in print() 108 case RefVal::ErrorReturnedNotOwned: in print() 212 const RefVal* T = getRefBinding(state, Sym); in checkPostStmt() 216 RefVal::Kind hasErr = (RefVal::Kind) 0; in checkPostStmt() 234 if (const RefVal* T = getRefBinding(state, sym)) { in processObjCLiterals() 235 RefVal::Kind hasErr = (RefVal::Kind) 0; in processObjCLiterals() [all …]
|
| H A D | RetainCountDiagnostics.cpp | 95 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 D | DWARFVerifier.cpp | 874 std::optional<uint64_t> RefVal = AttrValue.Value.getAsRelativeReference(); in verifyDebugInfoForm() local 875 assert(RefVal); in verifyDebugInfoForm() 876 if (RefVal) { in verifyDebugInfoForm() 892 LocalReferences[AttrValue.Value.getUnit()->getOffset() + *RefVal] in verifyDebugInfoForm() 901 std::optional<uint64_t> RefVal = AttrValue.Value.getAsDebugInfoReference(); in verifyDebugInfoForm() local 902 assert(RefVal); in verifyDebugInfoForm() 903 if (RefVal) { in verifyDebugInfoForm() 904 if (*RefVal >= DieCU->getInfoSection().Data.size()) { in verifyDebugInfoForm() 914 CrossUnitReferences[*RefVal].insert(Die.getOffset()); in verifyDebugInfoForm()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 7300 …RefVal, llvm::ImutKeyValueInfo<clang::ento::SymbolData const*, (anonymous namespace)::RefVal>>::Fa… 7301 …RefVal, llvm::ImutKeyValueInfo<clang::ento::SymbolData const*, (anonymous namespace)::RefVal>>>(cl… 7302 …::ImutKeyValueInfo<clang::ento::SymbolData const*, (anonymous namespace)::RefVal>>::operator++()"}, 7303 …lvm::ImutKeyValueInfo<clang::ento::SymbolData const*, (anonymous namespace)::RefVal>>::destroy()"}, 7304 …RefVal>>*, llvm::DenseMapInfo<unsigned int>, llvm::DenseMapInfo<llvm::ImutAVLTree<llvm::ImutKeyVal… 7305 …:ImutKeyValueInfo<clang::ento::SymbolData const*, (anonymous namespace)::RefVal>>::computeDigest()… 7306 …RefVal>>*, std::allocator<llvm::ImutAVLTree<llvm::ImutKeyValueInfo<clang::ento::SymbolData const*,… 7307 …namespace)::RefVal>>::getCanonicalTree(llvm::ImutAVLTree<llvm::ImutKeyValueInfo<clang::ento::Symbo… 7308 …RefVal>>::remove_internal(clang::ento::SymbolData const* const&, llvm::ImutAVLTree<llvm::ImutKeyVa… 7309 … namespace)::RefVal>>::markImmutable(llvm::ImutAVLTree<llvm::ImutKeyValueInfo<clang::ento::SymbolD… [all …]
|