diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-05-06 04:21:38 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-05-06 04:21:38 +0000 |
| commit | 3fa0d299f9dbb4bc675d31a1ab6efd72088ac91d (patch) | |
| tree | c2110b2796dbd733e058fbaf6df64091d77ca7c0 /lib/Analysis/CFRefCount.cpp | |
| parent | 0855dc31cd10e60e3a045f80842574049158c81a (diff) | |
| download | clang-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.cpp | 2 |
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; |
