Add summary lookup for IOServiceGetMatchingService.

Convert tabs to spaces.

llvm-svn: 73198
This commit is contained in:
Ted Kremenek 2009-06-11 18:17:24 +00:00
parent a74ead4103
commit ea675cf6a3
1 changed files with 48 additions and 37 deletions

View File

@ -981,6 +981,17 @@ RetainSummary* RetainSummaryManager::getSummary(FunctionDecl* FD) {
: getPersistentStopSummary();
}
break;
case 27:
if (!memcmp(FName, "IOServiceGetMatchingService", 27)) {
// Part of <rdar://problem/6961230>.
// This should be addressed using a API table.
assert (ScratchArgs.isEmpty());
ScratchArgs = AF.Add(ScratchArgs, 1, DecRef);
S = getPersistentSummary(RetEffect::MakeNoRet(), DoNothing, DoNothing);
}
break;
case 28:
if (!memcmp(FName, "IOServiceGetMatchingServices", 28)) {
// FIXES: <rdar://problem/6326900>