reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 1067     MemFunctionInfo.initIdentifierInfo(C.getASTContext());
 1070     if (FunI == MemFunctionInfo.II_malloc ||
 1071         FunI == MemFunctionInfo.II_g_malloc ||
 1072         FunI == MemFunctionInfo.II_g_try_malloc) {
 1092     } else if (FunI == MemFunctionInfo.II_kmalloc) {
 1101     } else if (FunI == MemFunctionInfo.II_valloc) {
 1106     } else if (FunI == MemFunctionInfo.II_realloc ||
 1107                FunI == MemFunctionInfo.II_g_realloc ||
 1108                FunI == MemFunctionInfo.II_g_try_realloc) {
 1111     } else if (FunI == MemFunctionInfo.II_reallocf) {
 1114     } else if (FunI == MemFunctionInfo.II_calloc) {
 1118     } else if (FunI == MemFunctionInfo.II_free ||
 1119                FunI == MemFunctionInfo.II_g_free ||
 1120                FunI == MemFunctionInfo.II_kfree) {
 1125     } else if (FunI == MemFunctionInfo.II_strdup ||
 1126                FunI == MemFunctionInfo.II_win_strdup ||
 1127                FunI == MemFunctionInfo.II_wcsdup ||
 1128                FunI == MemFunctionInfo.II_win_wcsdup) {
 1130     } else if (FunI == MemFunctionInfo.II_strndup) {
 1132     } else if (FunI == MemFunctionInfo.II_alloca ||
 1133                FunI == MemFunctionInfo.II_win_alloca) {
 1139     } else if (MemFunctionInfo.isStandardNewDelete(FD, C.getASTContext())) {
 1162     } else if (FunI == MemFunctionInfo.II_if_nameindex) {
 1167     } else if (FunI == MemFunctionInfo.II_if_freenameindex) {
 1169     } else if (FunI == MemFunctionInfo.II_g_malloc0 ||
 1170                FunI == MemFunctionInfo.II_g_try_malloc0) {
 1177     } else if (FunI == MemFunctionInfo.II_g_memdup) {
 1182     } else if (FunI == MemFunctionInfo.II_g_malloc_n ||
 1183                FunI == MemFunctionInfo.II_g_try_malloc_n ||
 1184                FunI == MemFunctionInfo.II_g_malloc0_n ||
 1185                FunI == MemFunctionInfo.II_g_try_malloc0_n) {
 1189       if (FunI == MemFunctionInfo.II_g_malloc0_n ||
 1190           FunI == MemFunctionInfo.II_g_try_malloc0_n) {
 1198     } else if (FunI == MemFunctionInfo.II_g_realloc_n ||
 1199                FunI == MemFunctionInfo.II_g_try_realloc_n) {
 1209   if (MemFunctionInfo.ShouldIncludeOwnershipAnnotatedFunctions ||
 1336   if (!MemFunctionInfo.isStandardNewDelete(NE->getOperatorNew(),
 1425   if (!MemFunctionInfo.isStandardNewDelete(DE->getOperatorDelete(),
 1488   if (Att->getModule() != MemFunctionInfo.II_malloc)
 1585   if (Att->getModule() != MemFunctionInfo.II_malloc)
 1851           getAllocationFamily(MemFunctionInfo, C, ParentExpr);
 1893              : getAllocationFamily(MemFunctionInfo, C, ParentExpr);
 1944       getAllocationFamily(MemFunctionInfo, C, AllocDeallocStmt), IsALeakCheck);
 2082     printExpectedAllocName(os, MemFunctionInfo, C, DeallocExpr);
 2695         (MemFunctionInfo.isCMemFunction(FD, Ctx, AF_Malloc,
 2697          MemFunctionInfo.isCMemFunction(FD, Ctx, AF_IfNameIndex,
 2999   if (MemFunctionInfo.isMemFunction(FD, ASTC))
 3405   checker->MemFunctionInfo.ShouldIncludeOwnershipAnnotatedFunctions =