Skip to content

Commit 24f657a

Browse files
committed
Corrected the rebase, oops!
1 parent 374151e commit 24f657a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13979,11 +13979,7 @@ QualType Sema::CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS,
1397913979
LHSType->isObjCObjectPointerType())))
1398013980
ConvTy = AssignConvertType::Compatible;
1398113981

13982-
<<<<<<< HEAD
1398313982
if (IsAssignConvertCompatible(ConvTy) && LHSType->isObjCObjectType())
13984-
=======
13985-
if (ConvTy == AssignConvertType::Compatible && LHSType->isObjCObjectType())
13986-
>>>>>>> origin/main
1398713983
Diag(Loc, diag::err_objc_object_assignment) << LHSType;
1398813984

1398913985
// If the RHS is a unary plus or minus, check to see if they = and + are
@@ -14006,11 +14002,7 @@ QualType Sema::CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS,
1400614002
}
1400714003
}
1400814004

14009-
<<<<<<< HEAD
1401014005
if (IsAssignConvertCompatible(ConvTy)) {
14011-
=======
14012-
if (ConvTy == AssignConvertType::Compatible) {
14013-
>>>>>>> origin/main
1401414006
if (LHSType.getObjCLifetime() == Qualifiers::OCL_Strong) {
1401514007
// Warn about retain cycles where a block captures the LHS, but
1401614008
// not if the LHS is a simple variable into which the block is

0 commit comments

Comments
 (0)