]> granicus.if.org Git - clang/commitdiff
Teach RetainCountchecker about IORegistryEntrySearchCFProperty returning retained...
authorTed Kremenek <kremenek@apple.com>
Tue, 1 May 2012 05:28:27 +0000 (05:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 1 May 2012 05:28:27 +0000 (05:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155887 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp

index f7012799b8d6c345c281286322d98eeef922d6b2..2a97e1c24a72a07add17c94008e7782df25c7c06 100644 (file)
@@ -941,6 +941,7 @@ const RetainSummary * RetainSummaryManager::getSummary(const FunctionDecl *FD) {
     } else if (FName == "IOBSDNameMatching" ||
                FName == "IOServiceMatching" ||
                FName == "IOServiceNameMatching" ||
+               FName == "IORegistryEntrySearchCFProperty" ||
                FName == "IORegistryEntryIDMatching" ||
                FName == "IOOpenFirmwarePathMatching") {
       // Part of <rdar://problem/6961230>. (IOKit)