From adf42185f6cdf26877921b6eacb9d545f6be8dad Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 11 Oct 2012 00:34:15 +0000 Subject: [PATCH] Minor cleanup for r165678; no functional change. llvm-svn: 165679 --- clang/lib/Sema/SemaChecking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 63c7bdd..4800886 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -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(TheCall) && isa(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. -- 2.7.4