diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-07 18:57:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-07 18:57:30 +0000 |
commit | fcf060fd2f4c903e53aad1660b5f1e25265ab78a (patch) | |
tree | dd1f3b464df77260d1b2e65122f44ea603fcf9a7 /clang/lib/Analysis/CFRefCount.cpp | |
parent | 13bbdf23898ae3e8a9a6f060b8633505b5ac0baa (diff) | |
download | bcm5719-llvm-fcf060fd2f4c903e53aad1660b5f1e25265ab78a.tar.gz bcm5719-llvm-fcf060fd2f4c903e53aad1660b5f1e25265ab78a.zip |
Flip order of arguments to CStrInStrNoCase.
llvm-svn: 50824
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 5c4cc12f36d..42577dfbe41 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/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(); |