Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp201 enum class MemoryOperationKind { enum in __anon98725bea0111::MallocChecker
288 MemoryOperationKind MemKind) const;
628 if (isCMemFunction(FD, C, AF_Malloc, MemoryOperationKind::MOK_Any)) in isMemFunction()
631 if (isCMemFunction(FD, C, AF_IfNameIndex, MemoryOperationKind::MOK_Any)) in isMemFunction()
634 if (isCMemFunction(FD, C, AF_Alloca, MemoryOperationKind::MOK_Any)) in isMemFunction()
646 MemoryOperationKind MemKind) const { in isCMemFunction()
650 bool CheckFree = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
651 MemKind == MemoryOperationKind::MOK_Free); in isCMemFunction()
652 bool CheckAlloc = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
653 MemKind == MemoryOperationKind::MOK_Allocate); in isCMemFunction()
[all …]