Fix: <rdar://problem/6945561> -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build

llvm-svn: 73415
This commit is contained in:
Ted Kremenek 2009-06-15 20:58:58 +00:00
parent eba57e41b3
commit 96aa146d90
1 changed files with 5 additions and 2 deletions

View File

@ -1539,11 +1539,14 @@ void RetainSummaryManager::InitializeMethodSummaries() {
addInstMethSummary("QCView", AllocSumm,
"createSnapshotImageOfType", NULL);
// Create summaries for CIContext, 'createCGImage'.
// Create summaries for CIContext, 'createCGImage' and
// 'createCGLayerWithSize'.
addInstMethSummary("CIContext", AllocSumm,
"createCGImage", "fromRect", NULL);
addInstMethSummary("CIContext", AllocSumm,
"createCGImage", "fromRect", "format", "colorSpace", NULL);
"createCGImage", "fromRect", "format", "colorSpace", NULL);
addInstMethSummary("CIContext", AllocSumm, "createCGLayerWithSize",
"info", NULL);
}
//===----------------------------------------------------------------------===//