]> granicus.if.org Git - clang/commitdiff
"currentHandler" is a nullary selector
authorTed Kremenek <kremenek@apple.com>
Fri, 18 Jul 2008 18:14:26 +0000 (18:14 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 18 Jul 2008 18:14:26 +0000 (18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53763 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFRefCount.cpp

index de048eb4bea8bc2bd76b1f97cc5c901f2d5f642c..bd9ac40f98181d54f5e24db43fc4eea9fddc6b06 100644 (file)
@@ -962,7 +962,7 @@ void RetainSummaryManager::InitializeClassMethodSummaries() {
   
   // Create the [NSAssertionHandler currentHander] summary.  
   addClsMethSummary(NSAssertionHandlerII,
-                    GetUnarySelector("currentHandler", Ctx),
+                    GetNullarySelector("currentHandler", Ctx),
                     getPersistentSummary(RetEffect::MakeNotOwned()));  
 }