aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-07 18:57:30 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-07 18:57:30 +0000
commit0ae24fa129ad5d5154ef6466ff1bea8e49e98554 (patch)
tree7bb238420b0f516391159e5616eeb15a76f0155e /lib/Analysis/CFRefCount.cpp
parent900a2d7f768e4bc5f289673fb0f1fb6557013b45 (diff)
Flip order of arguments to CStrInStrNoCase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 5c4cc12f36..42577dfbe4 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -606,8 +606,8 @@ RetainSummaryManager::getMethodSummary(ObjCMessageExpr* ME) {
if (!isNSType(ME->getReceiver()->getType()))
return 0;
- if (CStrInCStrNoCase(s, "create") || CStrInCStrNoCase(s, "copy") ||
- CStrInCStrNoCase(s, "new")) {
+ if (CStrInCStrNoCase("create", s) || CStrInCStrNoCase("copy", s) ||
+ CStrInCStrNoCase("new", s)) {
RetEffect E = isGCEnabled() ? RetEffect::MakeNoRet()
: RetEffect::MakeOwned();