[LLVMbugs] [Bug 2952] New: typo in ExprMapKeyType::operator ==()
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 25 16:27:06 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2952
Summary: typo in ExprMapKeyType::operator ==()
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: fvbommel at wxs.nl
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2138)
--> (http://llvm.org/bugs/attachment.cgi?id=2138)
Patch to fix the typo.
There's a typo in ExprMapKeyType::operator ==(). This is the code:
-----
bool operator==(const ExprMapKeyType& that) const {
return this->opcode == that.opcode &&
this->predicate == that.predicate &&
this->operands == that.operands;
this->indices == that.indices;
}
-----
Note the ';' instead of '&&' on the 'operands' line.
Trivial patch attached.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list