Skip to content

Commit da88e7f

Browse files
authored
[Clang] Remove parameter that shouldn't be there (#93086)
The parameter of `getAddress()` was not being used, as I recall, and seems to have been removed in the meantime. Merging this w/o review since this is breaking builds.
1 parent 9329b20 commit da88e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4701,7 +4701,7 @@ LValue CodeGenFunction::EmitLValueForLambdaField(const FieldDecl *Field,
47014701
if (ThisTy != LambdaTy) {
47024702
const CXXCastPath &BasePathArray = getContext().LambdaCastPaths.at(MD);
47034703
Address Base = GetAddressOfBaseClass(
4704-
LambdaLV.getAddress(*this), ThisTy, BasePathArray.begin(),
4704+
LambdaLV.getAddress(), ThisTy, BasePathArray.begin(),
47054705
BasePathArray.end(), /*NullCheckValue=*/false, SourceLocation());
47064706
LambdaLV = MakeAddrLValue(Base, QualType{LambdaTy->getTypeForDecl(), 0});
47074707
}

0 commit comments

Comments
 (0)