summaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-06 04:21:38 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-06 04:21:38 +0000
commit3fa0d299f9dbb4bc675d31a1ab6efd72088ac91d (patch)
treec2110b2796dbd733e058fbaf6df64091d77ca7c0 /lib/Analysis/CFRefCount.cpp
parent0855dc31cd10e60e3a045f80842574049158c81a (diff)
downloadclang-3fa0d299f9dbb4bc675d31a1ab6efd72088ac91d.tar.gz
clang-3fa0d299f9dbb4bc675d31a1ab6efd72088ac91d.tar.bz2
clang-3fa0d299f9dbb4bc675d31a1ab6efd72088ac91d.tar.xz
Fix logic error in string processing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 5ba37d48e3..040445b20b 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -636,7 +636,7 @@ RetainSummaryManager::getInstanceMethodSummary(IdentifierInfo* ClsName,
if (s[0] == '\0')
break;
- if (s[0]=='\0' || s[0]!='W' || s[1]!='i' || s[2]!='t' || s[3]!='h')
+ if (s[0]!='W' || s[1]!='i' || s[2]!='t' || s[3]!='h')
break;
return 0;