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

Ted Kremenek kremenek at apple.com
Tue Apr 17 22:39:33 PDT 2012


Great catch!  Fixed in r154986.

On Apr 17, 2012, at 10:15 PM, I-Jui Sung <ijsung at gmail.com> wrote:

> 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