diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-12-01 22:16:56 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-12-01 22:16:56 +0000 |
commit | 28f47b92e760ccf641ac91cb0fe1c12d9ca89795 (patch) | |
tree | e94e1e4e1e2445b9046bd086bd8e59ec84194658 /lib/Checker/CFRefCount.cpp | |
parent | f48f367cfe096fd307d36aff27d2d5a00e830571 (diff) |
Rename all 'AssumeXXX' methods in libChecker
to 'assumeXXX'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/CFRefCount.cpp')
-rw-r--r-- | lib/Checker/CFRefCount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/CFRefCount.cpp b/lib/Checker/CFRefCount.cpp index a1eff948c7..0be30b61db 100644 --- a/lib/Checker/CFRefCount.cpp +++ b/lib/Checker/CFRefCount.cpp @@ -1283,7 +1283,7 @@ RetainSummaryManager::getCommonMethodSummary(const ObjCMethodDecl* MD, // Look for methods that return an owned object. if (cocoa::isCocoaObjectRef(RetTy)) { - // EXPERIMENTAL: Assume the Cocoa conventions for all objects returned + // EXPERIMENTAL: assume the Cocoa conventions for all objects returned // by instance methods. RetEffect E = cocoa::followsFundamentalRule(S) ? ObjCAllocRetE : RetEffect::MakeNotOwned(RetEffect::ObjC); @@ -2725,7 +2725,7 @@ void CFRefCount::evalSummary(ExplodedNodeSet& Dst, #if 0 if (RE.getKind() == RetEffect::OwnedAllocatedSymbol) { bool isFeasible; - state = state.Assume(loc::SymbolVal(Sym), true, isFeasible); + state = state.assume(loc::SymbolVal(Sym), true, isFeasible); assert(isFeasible && "Cannot assume fresh symbol is non-null."); } #endif |