diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-06-15 20:58:58 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-06-15 20:58:58 +0000 |
| commit | 96aa146d90b66dbe13a30ccd87bab5deb7fc228a (patch) | |
| tree | 272ede847e80c1127adc5f46443adaa663cd64e4 | |
| parent | eba57e41b3289e59d60f12089afd5c87049658f2 (diff) | |
| download | bcm5719-llvm-96aa146d90b66dbe13a30ccd87bab5deb7fc228a.tar.gz bcm5719-llvm-96aa146d90b66dbe13a30ccd87bab5deb7fc228a.zip | |
Fix: <rdar://problem/6945561> -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build
llvm-svn: 73415
| -rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 5bcd24d65ba..d1f6bc8b310 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -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); } //===----------------------------------------------------------------------===// |

