[cfe-commits] r154986 - /cfe/trunk/include/clang/Analysis/ProgramPoint.h

Ted Kremenek kremenek at apple.com
Tue Apr 17 22:37:13 PDT 2012


Author: kremenek
Date: Wed Apr 18 00:37:13 2012
New Revision: 154986

URL: http://llvm.org/viewvc/llvm-project?rev=154986&view=rev
Log:
Fix bad typo reported by I-Jui Sung.

Modified:
    cfe/trunk/include/clang/Analysis/ProgramPoint.h

Modified: cfe/trunk/include/clang/Analysis/ProgramPoint.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/ProgramPoint.h?rev=154986&r1=154985&r2=154986&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/ProgramPoint.h (original)
+++ cfe/trunk/include/clang/Analysis/ProgramPoint.h Wed Apr 18 00:37:13 2012
@@ -129,7 +129,7 @@
   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;





More information about the cfe-commits mailing list