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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to