Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp190 enum class MemoryOperationKind { enum in __anond17b7d3c0111::MallocChecker
269 MemoryOperationKind MemKind) const;
558 if (isCMemFunction(FD, C, AF_Malloc, MemoryOperationKind::MOK_Any)) in isMemFunction()
561 if (isCMemFunction(FD, C, AF_IfNameIndex, MemoryOperationKind::MOK_Any)) in isMemFunction()
564 if (isCMemFunction(FD, C, AF_Alloca, MemoryOperationKind::MOK_Any)) in isMemFunction()
576 MemoryOperationKind MemKind) const { in isCMemFunction()
580 bool CheckFree = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
581 MemKind == MemoryOperationKind::MOK_Free); in isCMemFunction()
582 bool CheckAlloc = (MemKind == MemoryOperationKind::MOK_Any || in isCMemFunction()
583 MemKind == MemoryOperationKind::MOK_Allocate); in isCMemFunction()
[all …]