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

I-Jui Sung ijsung at gmail.com
Tue Apr 17 22:15:49 PDT 2012


Hi,

On Apr 2, 2012, at 11:25 PM, Ted Kremenek wrote:

> 
> @@ -139,17 +129,23 @@
>   static bool classof(const ProgramPoint*) { return true; }
> 
>   bool operator==(const ProgramPoint & RHS) const {
> -    return Data == RHS.Data && L == RHS.L && Tag == RHS.Tag;
> +    return Data1 == Data1 &&
> +           Data2 == RHS.Data2 &&
> +           L == RHS.L &&
> +           Tag == RHS.Tag;
>   }
> 
> 

There seems to be a typo:
"Data1 == Data1" should be "Data1 == RHS.Data1" ?

Regards,
I-Jui



More information about the cfe-commits mailing list