Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp188 enum class MemoryOperationKind { enum in __anone8977cbd0111::MallocChecker
266 MemoryOperationKind MemKind) const;
549 if (isCMemFunction(FD, C, AF_Malloc, MemoryOperationKind::MOK_Any)) in isMemFunction()
552 if (isCMemFunction(FD, C, AF_IfNameIndex, MemoryOperationKind::MOK_Any)) in isMemFunction()
555 if (isCMemFunction(FD, C, AF_Alloca, MemoryOperationKind::MOK_Any)) in isMemFunction()
567 MemoryOperationKind MemKind) const { in isCMemFunction()
571 bool CheckFree = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
572 MemKind == MemoryOperationKind::MOK_Free); in isCMemFunction()
573 bool CheckAlloc = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
574 MemKind == MemoryOperationKind::MOK_Allocate); in isCMemFunction()
[all …]