diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-03 04:42:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-03 04:42:10 +0000 |
commit | b4cf4a52abfe57b4d68911ced06367e2f678dbfd (patch) | |
tree | bcf91b838d2a21c64ac0f7f4d9c4920e490aa626 | |
parent | b8c6d5dca52e3b6ca595a25103fdaae45acb21b2 (diff) | |
download | bcm5719-llvm-b4cf4a52abfe57b4d68911ced06367e2f678dbfd.tar.gz bcm5719-llvm-b4cf4a52abfe57b4d68911ced06367e2f678dbfd.zip |
Rename isTrackedObjectType() -> isTrackedObjCObjectType().
llvm-svn: 70657
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index b4f87826901..38169fbfe84 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/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; |