Skip to content

Commit 16eed40

Browse files
committed
address review comments
1 parent b243477 commit 16eed40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,8 +5855,7 @@ Sema::ConvertArgumentsForCall(CallExpr *Call, Expr *Fn,
58555855
bool AddressOf = isParenthetizedAndQualifiedAddressOfExpr(Fn);
58565856
bool HasExplicitObjectParameter =
58575857
!AddressOf && FDecl && FDecl->hasCXXExplicitFunctionObjectParameter();
5858-
unsigned ExplicitObjectParameterOffset =
5859-
HasExplicitObjectParameter && !AddressOf ? 1 : 0;
5858+
unsigned ExplicitObjectParameterOffset = HasExplicitObjectParameter ? 1 : 0;
58605859
unsigned NumParams = Proto->getNumParams();
58615860
bool Invalid = false;
58625861
unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams;

0 commit comments

Comments
 (0)