[cfe-commits] r70657 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Sat May 2 21:42:10 PDT 2009
Author: kremenek
Date: Sat May 2 23:42:10 2009
New Revision: 70657
URL: http://llvm.org/viewvc/llvm-project?rev=70657&view=rev
Log:
Rename isTrackedObjectType() -> isTrackedObjCObjectType().
Modified:
cfe/trunk/lib/Analysis/CFRefCount.cpp
Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=70657&r1=70656&r2=70657&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Sat May 2 23:42:10 2009
@@ -648,7 +648,7 @@
void InitializeClassMethodSummaries();
void InitializeMethodSummaries();
- bool isTrackedObjectType(QualType T);
+ bool isTrackedObjCObjectType(QualType T);
private:
@@ -865,7 +865,7 @@
// Predicates.
//===----------------------------------------------------------------------===//
-bool RetainSummaryManager::isTrackedObjectType(QualType Ty) {
+bool RetainSummaryManager::isTrackedObjCObjectType(QualType Ty) {
if (!Ctx.isObjCObjectPointerType(Ty))
return false;
@@ -1142,7 +1142,7 @@
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 @@
}
// Look for methods that return an owned object.
- if (!isTrackedObjectType(RetTy)) {
+ if (!isTrackedObjCObjectType(RetTy)) {
if (ScratchArgs.empty() && ReceiverEff == DoNothing)
return 0;
More information about the cfe-commits
mailing list