[cfe-commits] r60483 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Wed Dec 3 08:32:56 PST 2008
Author: cornedbee
Date: Wed Dec 3 10:32:40 2008
New Revision: 60483
URL: http://llvm.org/viewvc/llvm-project?rev=60483&view=rev
Log:
Fix typo in index operator overloading.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=60483&r1=60482&r2=60483&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Wed Dec 3 10:32:40 2008
@@ -870,7 +870,7 @@
LHSExp->getType()->isRecordType() ||
LHSExp->getType()->isEnumeralType() ||
RHSExp->getType()->isRecordType() ||
- RHSExp->getType()->isRecordType()) {
+ RHSExp->getType()->isEnumeralType()) {
// Add the appropriate overloaded operators (C++ [over.match.oper])
// to the candidate set.
OverloadCandidateSet CandidateSet;
More information about the cfe-commits
mailing list