aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-05-03 04:42:10 +0000
committerTed Kremenek <kremenek@apple.com>2009-05-03 04:42:10 +0000
commiteff4b3c5cc1fde4d26b89d7a498d1487bd4edc6d (patch)
tree658be54332a16d0755dd5e01276680416f78c6e6 /lib/Analysis/CFRefCount.cpp
parent844da34736c0439ae50017826a7393406e75acd8 (diff)
Rename isTrackedObjectType() -> isTrackedObjCObjectType().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index b4f8782690..38169fbfe8 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -648,7 +648,7 @@ public:
void InitializeClassMethodSummaries();
void InitializeMethodSummaries();
- bool isTrackedObjectType(QualType T);
+ bool isTrackedObjCObjectType(QualType T);
private:
@@ -865,7 +865,7 @@ RetainSummaryManager::getPersistentSummary(ArgEffects* AE, RetEffect RetEff,
// Predicates.
//===----------------------------------------------------------------------===//
-bool RetainSummaryManager::isTrackedObjectType(QualType Ty) {
+bool RetainSummaryManager::isTrackedObjCObjectType(QualType Ty) {
if (!Ctx.isObjCObjectPointerType(Ty))
return false;
@@ -1142,7 +1142,7 @@ RetainSummaryManager::getMethodSummaryFromAnnotations(const ObjCMethodDecl *MD){
bool hasEffect = false;
RetEffect RE = RetEffect::MakeNoRet();
- if (isTrackedObjectType(MD->getResultType())) {
+ if (isTrackedObjCObjectType(MD->getResultType())) {
if (MD->getAttr<ObjCOwnershipReturnsAttr>()) {
RE = isGCEnabled() ? RetEffect::MakeGCNotOwned()
: RetEffect::MakeOwned(RetEffect::ObjC, true);
@@ -1230,7 +1230,7 @@ RetainSummaryManager::getCommonMethodSummary(const ObjCMethodDecl* MD,
}
// Look for methods that return an owned object.
- if (!isTrackedObjectType(RetTy)) {
+ if (!isTrackedObjCObjectType(RetTy)) {
if (ScratchArgs.empty() && ReceiverEff == DoNothing)
return 0;