]> granicus.if.org Git - clang/commitdiff
Fix: <rdar://problem/6945561> -[CIContext createCGLayerWithSize:info:] misinterpreted...
authorTed Kremenek <kremenek@apple.com>
Mon, 15 Jun 2009 20:58:58 +0000 (20:58 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 15 Jun 2009 20:58:58 +0000 (20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73415 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index 5bcd24d65ba3b2cf80be7775273c0711198277a2..d1f6bc8b31072a5de96a0d81f2032a3360d94d75 100644 (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);
 }
 
 //===----------------------------------------------------------------------===//