Fix typo in index operator overloading.

llvm-svn: 60483
This commit is contained in:
Sebastian Redl 2008-12-03 16:32:40 +00:00
parent f52e518d05
commit 9c33e96813
1 changed files with 1 additions and 1 deletions

View File

@ -870,7 +870,7 @@ ActOnArraySubscriptExpr(Scope *S, ExprTy *Base, SourceLocation LLoc,
LHSExp->getType()->isRecordType() || LHSExp->getType()->isRecordType() ||
LHSExp->getType()->isEnumeralType() || LHSExp->getType()->isEnumeralType() ||
RHSExp->getType()->isRecordType() || RHSExp->getType()->isRecordType() ||
RHSExp->getType()->isRecordType()) { RHSExp->getType()->isEnumeralType()) {
// Add the appropriate overloaded operators (C++ [over.match.oper]) // Add the appropriate overloaded operators (C++ [over.match.oper])
// to the candidate set. // to the candidate set.
OverloadCandidateSet CandidateSet; OverloadCandidateSet CandidateSet;