]> granicus.if.org Git - clang/commitdiff
Fix bad typo reported by I-Jui Sung.
authorTed Kremenek <kremenek@apple.com>
Wed, 18 Apr 2012 05:37:13 +0000 (05:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 18 Apr 2012 05:37:13 +0000 (05:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154986 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/ProgramPoint.h

index b2200c65cfd624ca6135f1715b82da33649000bc..aa7a33c956e408b9bf45dffbce0b48552df7632c 100644 (file)
@@ -129,7 +129,7 @@ public:
   static bool classof(const ProgramPoint*) { return true; }
 
   bool operator==(const ProgramPoint & RHS) const {
-    return Data1 == Data1 &&
+    return Data1 == RHS.Data1 &&
            Data2 == RHS.Data2 &&
            L == RHS.L &&
            Tag == RHS.Tag;