Minor cleanup for r165678; no functional change.

llvm-svn: 165679
This commit is contained in:
Eli Friedman 2012-10-11 00:34:15 +00:00
parent 726d11c41b
commit adf42185f6
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ bool Sema::CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall,
unsigned NumProtoArgs = Proto ? Proto->getNumArgs() : 0;
Expr** Args = TheCall->getArgs();
unsigned NumArgs = TheCall->getNumArgs();
if (isa<CXXOperatorCallExpr>(TheCall) && isa<CXXMethodDecl>(FDecl)) {
if (IsMemberOperatorCall) {
// If this is a call to a member operator, hide the first argument
// from checkCall.
// FIXME: Our choice of AST representation here is less than ideal.