[cfe-commits] r50824 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Wed May 7 11:57:30 PDT 2008
Author: kremenek
Date: Wed May 7 13:57:30 2008
New Revision: 50824
URL: http://llvm.org/viewvc/llvm-project?rev=50824&view=rev
Log:
Flip order of arguments to CStrInStrNoCase.
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=50824&r1=50823&r2=50824&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Wed May 7 13:57:30 2008
@@ -606,8 +606,8 @@
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();
More information about the cfe-commits
mailing list