forked from OSchip/llvm-project
parent
7d75267db7
commit
bd44cd9d55
|
@ -10410,7 +10410,7 @@ ExprResult Sema::CreateBuiltinBinOp(SourceLocation OpLoc,
|
|||
break;
|
||||
case BO_AndAssign:
|
||||
case BO_OrAssign: // fallthrough
|
||||
DiagnoseSelfAssignment(*this, LHS.get(), RHS.get(), OpLoc);
|
||||
DiagnoseSelfAssignment(*this, LHS.get(), RHS.get(), OpLoc);
|
||||
case BO_XorAssign:
|
||||
CompResultTy = CheckBitwiseOperands(LHS, RHS, OpLoc, true);
|
||||
CompLHSTy = CompResultTy;
|
||||
|
@ -13480,7 +13480,7 @@ static void DoMarkVarDeclReferenced(Sema &SemaRef, SourceLocation Loc,
|
|||
}
|
||||
|
||||
if (!isTemplateInstantiation(TSK))
|
||||
return;
|
||||
return;
|
||||
|
||||
// Instantiate, but do not mark as odr-used, variable templates.
|
||||
MarkODRUsed = false;
|
||||
|
|
Loading…
Reference in New Issue